GetUserByName Method



 
The GetUserByName method returns a user by name.


Syntax

    [obj=] SiteCafe.Server.Users.GetUserByName(name)
    
Parameters
    name String that specifies the user name.
Return Value
    Returns a User object representing the specified user.
Remarks
    None.
Examples
    The following example displays the index number of the user 'User1'.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    user = SiteCafe.Server.Users.GetUserByName("User1");
    alert(user.Index);
    </SCRIPT>
    

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

Back to top