Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Get Portal User Activity

Prev Top Next More

Description

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.

Usage

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

Inputs

Load Groups

Optional

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.

Outputs

user

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.

groups

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.

Properties

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

Connectivity Requirements

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

VertiGIS Studio Mobile

Version Information

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

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (58a5caf5)