Contact us
View as Markdown
Ask AI
Open in ChatGPT Open in Claude

Opens a third-party service and shares a pre-filled prompt containing this public page URL and /llms.txt. No VirtoSoftware account or tenant data is included. Provider terms and privacy policies apply. Verify answers against the linked documentation.

OpenAI terms · OpenAI privacy policy · Anthropic terms · Anthropic privacy policy

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 activity in the SharePoint Workflow Designer

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.

Updated on August 12, 2026