Delete AD User
Deletes an Active Directory user.
This will NOT delete the profile folder along with the AD 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 |
|
Domain | String | Yes | Abc.com |