Get Dn
get_dnResolve an Active Directory sAMAccountName or DN to a distinguished name for use in DN-based queries; returns the input unchanged if it is already a DN and None when not found.
Instructions
Resolve a sAMAccountName (or DN) to a distinguished name (DN).
Returns the value unchanged if it already looks like a DN, otherwise looks
it up. Returns None if not found. Handy before get_by_dn or
get_ou_contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| entry | Yes | ||
| domain | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |