getUsers()
51
If the call fails, the server sends a reply information object with a
level
property of
error
and a
code
property of
NetConnection.Call.Failed
or a more specific value, if available.
Some objects might also have a
description
property that contains a string describing the
cause of the failure.
Description
Gets detailed information about a shared object.
See also
getSharedObjects()
getUsers()
Availability
■
Flash Player 6.
■
Flash Communication Server MX 1.0.
Usage
getUsers(
app_instance
)
Parameters
app_instance
A string that contains the name of the instance of the application, in the
form
application_name
/
instance_name
.
Returns
If the call succeeds, the server sends a reply information object with a
level
property of
status
, a
code
property of
NetConnection.Call.Success
, and a
data
property that is an
array of strings that represent the IDs of users who are connected to the specified instance of
an application. The user IDs are assigned by the server.
If the call fails, the server sends a reply information object with a
level
property of
error
and a
code
property of
NetConnection.Call.Failed
or a more specific value, if available.
Some objects might also have a
description
property that contains a string describing the
cause of the failure.
Description
Gets an array of strings that represent the server-assigned IDs of all users who are connected to
the specified instance of an application.