banner

UserInfo.get_Identity method

Returns the name of a specific user account.

Syntax

window.external.UserInfo.get_Identity(index);

Parameters index

Integer. The index of the specified user account. The value is greater than or equal to 0; less than the value of UserInfo.get_IdentitiesMax.

Return Values String. The name of a user account corresponding to the specified index.
Applies To window.external.UserInfo
Example
var strIdentity = window.external.UserInfo.get_Identity();