banner

UserInfo.set_Identity method

Sets the name of a specific user account that is stored in the UserInfo object.

Syntax

window.external.UserInfo.set_Identity(index, idName);

Parameters index

Integer. The index number of the specified user account.

idName

String. The name of the specified user account.

Return Values None
Applies To window.external.UserInfo
Example
window.external.UserInfo.set_Identity(1,"PatC");