GetUserByAccount Method



 
The GetUserByAccount method returns a user by account.


Syntax

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

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

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

Back to top