Macromedia flash media server 2-server-side actionscript language reference Manual De Usuario

Descargar
Página de 74
20
Server Management ActionScript Language Reference
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 containing the names of all the adaptors.
Description
Returns an array of adaptors that are defined. You must be a server administrator to perform 
this command.
getAdminContext()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
getAdminContext([adminName][,
 
adaptorName][,
 
vhostName])
Parameters
adminName
  The name of an administrator.
adaptorName
  An alternate adaptor, other than 
_defaultRoot_
, on which to find 
administrators. If not specified, 
_defaultRoot_
 is used
vhostName
  An alternate vhost, other than 
_defaultVHost_
, on which to find vhost 
administrators. If not specified, server level admin is used. 
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 
object. The 
data
 object has the following properties:
Property
Description
admin_type
String; the type of administrator, either 
server
 or 
vhost
.
adaptor
String; name of the adaptor for which the user is an administrator.
vhost
String; name of the virtual host for which the user is an administrator.
connected
String; this property is deprecated and always returns 
true
.