Active Directory Admin icon

Active Directory Admin

Perform administrative operations on Active Directory via LDAP/LDAPS

User → Disable

AI-generated

Summary

Disable a user account in Active Directory by specifying the user's full distinguished name (DN).

Inputs

  • Distinguished Name (required) — Full distinguished name of the user to disable, e.g., 'CN=John Doe,OU=Users,DC=example,DC=local'.
  • Continue on Error — Choose to continue processing subsequent items even if disabling a user fails for one.

Output shape

A JSON object indicating success or failure for each item, including the DN disabled and confirmation of the disabled state.

Processes multiple input items sequentially. On failure, throws error unless 'Continue on Error' is enabled, which then returns error details per item.

Examples

Example 1: Disable a user with DN 'CN=Jane Smith,OU=Users,DC=example,DC=local'

Set 'Distinguished Name' to 'CN=Jane Smith,OU=Users,DC=example,DC=local' and 'Continue on Error' to false or true based on error handling preference.

Discussion