CreateUser Method



 
The CreateUser method creates a new user.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    CreateUser(username, password)
    
Parameters
    username String that specifies the username.
    password String that specifies the password.
Return Value
    None.
Remarks
    None.
Examples
    The following example creates a new user.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.CreateUser("NewUser", "NewPassword");
    </SCRIPT>
    

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

Back to top