GetAdminByIndex Method



 
The GetAdminByIndex method returns an admin by index.


Syntax

    [obj=] SiteCafe.Server.Admins.GetAdminByIndex(index)
    
Parameters
    index Long value that specifies the admin index.
Return Value
    Returns an Admin object representing the specified admin.
Remarks
    None.
Examples
    The following example displays the name of the first admin.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    admin = SiteCafe.Server.Admins.GetAdminByIndex(1);
    alert(admin.Name);
    </SCRIPT>
    

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

Back to top