> Automation > Objects > Active Directory > Disable AD User

Disable AD User

Disables an active user.

Privileges

Normal

Input Parameters

Name Type Required Description
Common Name String Yes The CommonName of the user to be disabled.
Domain String Yes The domain of the user to be disabled.
OU String No Organizational Unit container where the user object is contained. If undefined, the user object will be disabled from the standard users container for the domain.

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
Domain String Yes Abc.com
OU String Yes OU=Marketing,DC=ABC,DC=com