Disable AD User
This Automation Manager object disables an Active Directory user account.
Privileges
Normal
Input Parameters
| Name | Type | Required | Description | 
|---|---|---|---|
| CommonName | String | No | The CommonName of the user to be disabled. | 
| 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 disabled 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 | No | Jsmith | 
| User sAMAccountName | String | No | |
| DistinguishedName | String | No | |
| OU | String | No | OU=Marketing, DC=ABC, DC=com | 
| Domain | String | Yes | Abc.com | 
