N-central Help

Delete AD User

Deletes an Active Directory user.

Privileges

Normal

Input Parameters

Name Type Required Description
CommonName String Yes The CommonName of the user to be deleted.
User sAMAccountName String No  
DistinguishedName String No  
OU String No

Organizational Unit container where the user object is contained. If undefined, the user object will be deleted from the standard users container for the domain.

Domain String Yes

The domain to which the user being deleted belongs.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Common Name String Yes Jsmith
User sAMAccountName String No  
DistinguishedName String No  
OU String No
  • OU=Marketing
  • DC=ABC
  • DC=com
Domain String Yes Abc.com