Deleting objects

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

For example, to delete a Verify Identity Access user, use the PDUser.deleteUser() static method. This method deletes the Verify Identity Access user from the policy server immediately. See the following sample static method, Deleting a user.

Deleting 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);