Locked Users
locked_usersLists all locked-out Active Directory user accounts for audit checks, letting you scope results by OU (base DN) or add an extra LDAP filter.
Instructions
List locked-out user accounts (lockoutTime >= 1).
Audit counterpart of is_locked: returns every locked account instead of
checking a single user. Pass base (a DN) to scope to an OU, or
extra_filter to AND an extra raw LDAP clause (must be pre-escaped).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| limit | No | ||
| domain | No | ||
| extra_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |