get_user
Retrieve comprehensive user details from Active Directory or Azure AD using identifiers like sAMAccountName, UPN, or object ID for user management tasks.
Instructions
Get full details of a specific user. For on-prem AD use sAMAccountName; for Azure AD use UPN or object ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | sAMAccountName for on-prem AD, or UPN/object ID for Azure AD (e.g. jdoe or john.doe@company.com) | |
| source | No | Data source: "ad" for on-prem LDAP, "azure" for Azure AD/Entra ID (available: ad, azure) | ad |