LoginUser Method



 
The LoginUser method logs in using username and password.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    LoginUser(username, password)
    
Parameters
    username String that specifies the username.
    password String that specifies the password.
Return Value
    None.
Remarks
    None.
Examples
    The following example logs in using username and password.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.LoginUser("username", "password");
    </SCRIPT>
    

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

Back to top