Task: Disable AD user
Prerequisites
Windows Active Directory system
Active Directory module
Description
This task will disable a user in Windows Active Directory.
Active Directory Connection system
Name  | Description  | Type  | Example  | Comment  | 
|---|---|---|---|---|
Domain  | Specify the active directory domain  | String  | Enyoi.com  | Parameter is required.  | 
Server  | Specify the active directory server  | String  | Dc01.enyoi.com  | 
Variables (Disable AD user)
Name  | Description  | Type  | Example  | Comment  | 
AD Username  | The Active Directory User you want to disable  | String  | JoeD01  | Parameter is required. You can identify an account by its distinguished name, GUID, security identifier (SID), or Security Accounts Manager (SAM) account name  | 
Domain or Server  | Specify your Domain or Server  | String  | ‘contoso.net’ or ‘DC.contoso.net’  | You can specify a child domain or a specific server. If a value is found this will override the Configuration in the Active Directory System.  |