Get Current User Activity


Gets the name, roles and claims of the current user.

Inheritance Hierarchy:



This activity obtains information about the user who is currently running the workflow. The activity provides access to the user name and the collection of roles that the current user belongs to. When running this activity in the Workflow Designer simulator the user will be the Windows user running the Workflow Designer application.

In a Workflow:

You would use this activity if you need to perform logic based on the current user or provide the user name as input to another activity such as a database insert.


Name Description


Display Name


You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Out Arguments


The claims associated with the current user. See System.Security.Claims.Claim.


The roles that the current user belongs to.

User Name

The name of the current user.

Windows Account Name

The Windows account name (DOMAIN\Name) of the current user. This is only assigned for users who signed in using Windows.

Version Information:

Supported from: Geocortex Essentials 3.6.