LDAP script examples
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- Platform Security
The following script examples assume you use an Active Directory (AD) for your LDAP server.
userAccountControl attribute values script
This example tests the source for the userAccountControl attribute values associated with a disabled user (514 or 546).Here is an example using a bitwise check: