Delete

Marks the pending user profile object for deletion from Active Directory.

Syntax

void Delete()

Discussion

This method does not delete the pending user profile. After you mark the object for deletion, you must use the Commit method to commit changes to the object to Active Directory. When the Commit method is executed, the pending user profile is deleted from Active Directory to complete the operation.

Exceptions

Delete throws an UnauthorizedAccessException if you have insufficient access rights to remove the UNIX profile in the zone.