Delete objects

To delete an object, use the static deletion method associated with the administration object.

For example, to delete an ISAM user, use the PDUser.deleteUser() static method. This method deletes the ISAM user from the policy server immediately. See the following sample static method, Delete a user.

Delete a user
/*------------------------------------------------------------------
* Delete a user
*------------------------------------------------------------------
*/

// Set up all of the user's attributes
String name = "Leah Allen";
messages.clear();

PDUser.deleteUser(mySecurityContext,
name,
true,
messages);

Parent topic: Manipulating administration objects