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. Geocortex 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.
Supported Environments
Environments capable of running this activity
Server
|
Client |
|||
Geocortex Web |
Geocortex Mobile |
Geocortex Viewer for HTML5 |
Web AppBuilder |
|
---|---|---|---|---|
|
|
|
|
|
Offline Support
In order for this activity to work when the device is offline, the activity must run in the following application:
Geocortex Mobile
Version Information
Supported from: Geocortex Viewer for HTML5 2.9, Web AppBuilder for ArcGIS 2.4.