Get user's department from Active Directory

⌘K

Get user’s department from Active Directory

This activity allows receiving user’s department from Active Directory and stores result in variable.

get_user's_department_from_active_directory_1

If attribute does not exist, this method returns empty string.

SharePoint Workflow Designer Phrase

Get this user department from this domain and store result in Variable: varaible.

Parameters
ParameterDescription
this userUser login name. Ex: “user@domain”, “domain\user” or “user”
this domainOptional. Domain name. You should enter domain name if user name without a domain, otherwise it will be calculated from the user name.

By default, activity uses the current user when authenticating. If you want to use custom

authentication, use “Set Active Directory authentication” activity before.

How can we help?