Command Line Interface (API) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
As soon as a PWD user is authenticated, the CLI commands are accepted. For each CLI command the server checks the access rights of the authenticated user.
If a command produces some data, the data is sent after the protocol line with the positive response. The CR-LF combination is sent after the data.
Here is a sample PWD session with CLI commands:
Note: These Dictionary format syntax rules allow you to specify a string without the quotation marks if the string contains alphanumerical symbols only. You should use the quotation marks if a string contains the dot (.), comma (,), and other non-alphanumerical symbols.
In spite of the fact that the Dictionary format is multi-line, all arrays and dictionaries you specify as CLI parameters should be stored on one command line.
If a CLI command produces some output in the array or dictionary format, the output data can be presented on several lines.
This command can be used by a domain administrator only if the domain administrator has the CanCreateAccounts access right.
If this command is used by a domain administrator, it will use only those account settings that the domain administrator is allowed to modify.
This command can be used by a domain administrator only if the domain administrator has the CanCreateAccounts access right.
This command can be used by a domain administrator only if the domain administrator has the CanCreateAccounts access right.
Note: All users can send the GetAccount command for their own accounts.
If this command is used by a domain administrator, it will update only those account settings that the domain administrator is allowed to modify.
Note: All users can send the GetAccountEffectiveSettings command for their own accounts.
To use this command, the user should have the "Basic Settings" Domain Administration right for the target account domain.
To use this command, the user should have any Domain Administration right for the target account domain.
This command can be used by a domain administrator only if the domain administrator has the CanCreateAliases access right.
This command can be used by a domain administrator only if the domain administrator has the RulesAllowed access right.
This command can be used by a domain administrator only if the domain administrator has the CanModifyRPOP access right.
Note: All users can use the GetAccountInfo command to retrieve elements from their own account "info" data.
This command can be used by a domain administrator only if the domain administrator has the CanCreateGroups access right.
This command can be used by a domain administrator only if the domain administrator has the CanCreateGroups access right.
This command can be used by a domain administrator only if the domain administrator has the CanCreateGroups access right.
This command can be used by a domain administrator only if the domain administrator has the CanCreateForwarders access right.
This command can be used by a domain administrator only if the domain administrator has the CanCreateForwarders access right.
If this command is used by a domain administrator, it will update only those Domain Settings that this domain administrator is allowed to modify.
If this command is used by a domain administrator, it will update only those Default Account settings that the domain administrator is allowed to modify.
If this command is used by a domain administrator, it will update only those Template settings that the domain administrator is allowed to modify.
The following commands are available for the System Administrator only:
The following commands are available for the System Administrator only:
The authenticated user should be the account owner, or should have the Can Modify All Domains and Account Settings access right or the WebSite Domain Administration access right to use the personal WebSite Administration CLI commands.
The following commands can also be used by the mailing list owner.
Sample:
If the subscriber does not exist, an empty dictionary is returned. Otherwise, the dictionary contains the following elements:
The command sets the posting mode the specified subsriber. If numberOfModerated (a number) is specified, the posting mode set requires moderation of the first numberOfModerated messages from this subscriber.
A user should have the Account Settings access right or the CanModifySkins Domain Administration access right to manipulate with the domain Skins.
If the DATA keyword is specified and the Skin contains a file with the same name, the old file is deleted.
The file with the specified name is removed from the Skin Cache (in the Dynamic Cluster the file is removed from Skin caches on all cluster members).
The following commands are available for the System Administrator only:
If the DATA keyword is specified and the Skin contains a file with the same name, the old file is deleted.
The file with the specified name is removed from the Skin Cache (in the Dynamic Cluster the file is removed from Skin caches on all cluster members).
The authenticated user should have the Can Modify All Domains and Account Settings access right or the CanAccessMailboxes Domain Administration access right to create WebUser Sessions.
The authenticated user should have the Can Modify All Domains and Account Settings access right to retrieve WebUser Session data.
This operation resets the WebUser session inactivity timer.
The authenticated user should have the Can Modify All Domains and Account Settings access right to retrieve WebUser Session data.
A user should have the Server Settings access right or the Account Settings access right to use the following CLI commands.
This command produces an output - an array of three strings:
This command produces an output - a string with the server state element value.
The Account-Level Statistics data is collected if the Account Statistics option is enabled on the Obscure page in the Settings realm of the CommuniGate Pro WebAdmin Interface.
If the statistical data for the specified key does not exist, an empty string is returned.
To use this command, the user should have the Domain Administration right for the target account domain. All users can retrieve the Account statistics data for their own accounts.
To use this command, the user should have the "Basic Settings" Domain Administration right for the target account domain.
The following Account statistics data keys are implemented:
|
To use this command, the user should have the Domain Administration right for the target Domain.
To use this command, the user should have the "Basic Settings" Domain Administration right for the target Domain.
The following Domain statistics data keys are implemented:
|
To use this command, the user should have the "Can Monitor" Server Administration right.
To use this command, the user should have the "Can Monitor" Server Administration right.
A user should have the Account Settings access right or the Domain Administration access right to tune the domain Web Interfaces.