Removing a person entry

To remove a person, define the DN for the person and then call destroySubContext on the context.

Ensure that we have initialized the context.

To remove a person entry...

  1. Define the DN of the person to remove.

  2. Call destroySubContext on the context.

After defining the DN of the person, a call to destroySubContext is made with the JNDI context.


Example

damlContext.destroySubcontext("uid=" + uid);

We can do these tasks:

Parent topic: Event notifications of HR data