Identity Management (MOSC)

MOSC Banner

How to delete or remove a user attribute value

How I can remove/reset value of a user attribute to nothing.

I tried the below commands, but it failed

         If l_initials Is Not null Then

              l_emp_Vals(1)  := l_initials ;

             DBMS_LDAP.populate_mod_array(l_emp_array,DBMS_LDAP.MOD_REPLACE,'initials',l_emp_vals);

           Else

              l_emp_Vals(1) := null;

              DBMS_LDAP.populate_mod_array(l_emp_array,DBMS_LDAP.MOD_REPLACE,'initials',l_emp_vals);

           End If;

but it failed with following error message

Error Message : ORA-31202: DBMS_LDAP: LDAP client/server error: Invalid syntax.

00000057: LdapErr: DSID-0C090CBE, comment: Error in attribute conversion

operation, data 0, v23f0

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center