Get Portal User Activity


Gets details about the currently logged in portal user.

This activity only works if the users is currently signed in to ArcGIS Enterprise or ArcGIS Online in the current application. Otherwise, the outputs will have no values.


You may want your workflow to behave differently depending on who the current portal user is, or which portal groups they belong to.


Load Groups


Type: Boolean

If true (default), the user's Portal Groups will also be returned.

Set to false if you do not need the groups and want to improve performance.

VertiGIS Studio Mobile ignores this setting and always loads groups.



Type: esri.PortalUser (3.x, 4.x)*

The registered user of the Portal.

This will be undefined if the user is not signed in or is signed in to something other than a Portal.


Type: esri.PortalGroup[] (3.x, 4.x)*

The Portal Groups that the user belongs to. This will be an empty array if the Load Groups input is set to false or if the user is not signed in or is signed in to something other than a Portal.


For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Supported Environments

Environments capable of running this activity






Experience Builder

Web AppBuilder

Geocortex Viewer for HTML5

Levels of Support:      Full Support      Partial Support      No Support

Connectivity Requirements

For this activity to work when the device has intermittent connectivity to the network, the activity must run in the following application:

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.