Item Method



 
The Item method returns one item of the collection.


Syntax

    [obj=] LogonsCol.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a Logon object representing the specified logon.
Remarks
    Collection-index values are 1-based.
Examples
    The following example displays the first logon date of the first admin.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    logons = SiteCafe.Server.Admins.Logons.GetLogons(1, 0, 0, 1, 1, true);
    alert(logons.Item(1).LogonDate);
    </SCRIPT>
    

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

Back to top