SiteKiosk Documentation
One Step Back

OnCreateUser Event




Fires when a user has been created.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    OnCreateUser = handler
    
Parameters
    errorCodeLong value that contains the error code.
    userIndexLong value that contains the user index number.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the user index number when a user has been created.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.OnCreateUser = OnCreateUser;
    function OnCreateUser(errorCode, userIndex)
    {
       alert("New user: " + userIndex);
    }
    </SCRIPT>
    

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -