Skip to main content

Get user

Read a user's properties, finding the user by logon name, full name or distinguished name.

Command in the Active Directory toolkit · id ooa.active_directory/get_user · 3 inputs (1 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
UsernameStringYesLogon name (sAMAccountName or UPN), full name, or distinguished name.
SessionStringNoadSession name.
AttributesListNoMore attributes to read, e.g. ["employeeID","physicalDeliveryOfficeName"]; the usual set is always returned.

Outputs​

OutputTypeWhat it is
userDictionarydn, sAMAccountName, displayName, mail, enabled, locked and more.
valueAnyWhen exactly one attribute is asked for: its value on its own (text, or a list for several values).