Create Method



 
The Create method creates an admin.


Syntax

    [long=] SiteCafe.Server.Admins.Create(name, password, level)
    
Parameters
    name String that specifies the admin's name.
    password String that specifies the password.
    level Long value that specifies an arbitrary level.
Return Value
    Returns a Long value containing the admin index.
Remarks
    None.
Examples
    The following example creates a new admin.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    adminIndex = SiteCafe.Server.Admins.Create("Name", "Password", 1);
    </SCRIPT>
    

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

Back to top