The following is an example of a Debug approval request:
nc_admin.call("approveDebugSession", null, appName/instName", 1234);
changePswd()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
changePswd(admin_name, password [, scope])
Parameters
A string that contains the name of the administrator whose password is being
admin_name
changed.
A string that contains that administrator's new password.
password
Optional; a string that specifies whether the administrator is a server administrator or
scope
virtual host administrator, and for which virtual host.
To change the password for the specified administrator on the virtual host to which you're
connected, omit this parameter. To change the password for the specified administrator on a
different virtual host, specify
To change a server administrator's password, specify
Returns
If the call succeeds, the server sends a reply information object with a
and a
property of
status
code
If the call fails, the server sends a reply information object with a
and a
property of
code
available. Some objects might also have a
describing the cause of the failure.
If the specified administrator does not exist, this command fails.
Description
Changes the password for the specified administrator. The password is encoded before it is
written to the Server.xml configuration file.
Virtual host administrators can change only their own password.
adaptor_name/virtual_hostname
NetConnection.Call.Success
NetConnection.Admin.CommandFailed
description
.
.
server
level
.
property of
level
or a more specific value, if
property that contains a string
property of
error
changePswd()
17
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE and is the answer not in the manual?