User Guide

removeAdmin() 57
Returns
If the call succeeds, the server sends a reply information object with a level property of
status and a code property of NetConnection.Call.Success.
If the call fails, the server sends a reply information object with a
level property of error
and a
code property of NetConnection.Admin.Command.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
Shuts down the specified application or instance of the application, if running, and reloads it.
All users are disconnected.
After this command runs, users must reconnect to the application or instance of the
application.
You can use this command to preload an instance of an application or reload it when
application configuration changes are made or the script that is associated with the
application has been changed.
See also
unloadApp()
removeAdmin()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
removeAdmin(admin_name [,scope])
Parameters
admin_name A string that contains the user name of the administrator being removed.
scope Optional; string that specifies which administrator you want to remove.
To remove a virtual host administrator from the virtual host to which youre connected, omit
this parameter. To remove a virtual host administrator from a different virtual host, specify the
virtual host as
adaptor_name/virtual_hostname.
To remove a server administrator, specify
server.