GetUserByIndex Method



 
The GetUserByIndex method returns a user by index.


Syntax

    [obj=] SiteCafe.Server.Users.GetUserByIndex(userIndex)
    
Parameters
    userIndex Long value that specifies the user index.
Return Value
    Returns a User object representing the specified user.
Remarks
    None.
Examples
    The following example displays the name of the first user.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    user = SiteCafe.Server.Users.GetUserByIndex(1);
    alert(user.Name);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top