Item Method



 
The Item method returns one item of the collection.


Syntax

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

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    users = SiteCafe.Server.Chat.GetUsers(1, 100);
    alert(users.Item(1).Nickname);
    </SCRIPT>
    

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

Back to top