describeUser

Returns information about a specific user.

Samples

// The following command returns the mapped attributes for a user along with the department, manager,
// IP phone, and date the user last set a password.
val resp = directoryServiceDataClient.describeUser {
    directoryId = "d-12233abcde"
    otherAttributes = listOf<String>(
        "department",
        "manager",
        "ipPhone",
        "pwdLastSet"
    )
    realm = "examplecorp.com"
    samAccountName = "twhitlock"
}