Create Method



 
The Create method creates a new user.


Syntax

    [long=] SiteCafe.Server.Users.Create(name, password, accountIndex)
    
Parameters
    name String that specifies the user name.
    password String that specifies the password.
    accountIndex Long value that specifies the account index.
Return Value
    Returns a Long value containing the user index.
Remarks
    None.
Examples
    The following example creates a new user for the first account.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    userIndex = SiteCafe.Server.Users.Create("NewUser", "password", 1);
    </SCRIPT>
    

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

Back to top