Retrieving LoginUser properties

The properties of this user session’s LoginUser object provide information about the user being authenticated for this user session. The following table describes the properties.

Property name

Description

LoginUser.Username

The username used to log the current user on to the web application. The Privileged Access Service determines the username for this user session depending on the “Map to user Accounts” setting in the Application Settings tab. This property is synonymous with the global variable UserIdentifier.

LoginUser.Password

The password used to log the current user on to the web application. The Privileged Access Service determines the password for this user session depending on the “Map to user Accounts” setting in the Application Settings tab.

LoginUser.GroupNames

An array of group names for groups in which the user is an effective member (according to the user’s Active Directory account). A user is an effective member of a group if he is either a direct member of the group or is a direct member of a group that is in turn a member of the group.

This property returns the same value as LoginUser.EffectiveGroupNames.

LoginUser.EffectiveGroupNames

An array of group names for groups in which the user is an effective member (according to the user’s Active Directory account). A user is an effective member of a group if he is either a direct member of the group or is a direct member of a group that is in turn a member of the group.

This property returns the same value as LoginUser.GroupNames.

LoginUser.GroupDNs

An array of distinguished names of groups in which the user is an effective member.

This property returns the same value as LoginUser.EffectiveGroupDNs.

LoginUser.EffectiveGroupDNs

An array of distinguished names of groups in which the user is an effective member.

This property returns the same value as LoginUser.GroupDNs.