Get user's department from Active Directory
This activity allows receiving user’s department from Active Directory and stores result in variable.
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.
|this user||User login name. Ex: “user@domain”, “domain\user” or “user”|
|this domain||Optional. 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.