Permissions
Reseller permissions are specified by the permissions node which is
presented by clientPerms type (plesk_client.xsd
). The
permissions node graphical representation is as follows:
- The permission node is required. It specifies permission
parameters. Data type: PleskPermissionType (
plesk_common.xsd
).- The name node is required. It specifies permission name. Data type: sting.
- The value node is required. It specifies permission value. Data type: anySimpleType.
Note: You can specify multiple permission parameters within one permissions node.
The following piece of code represents a permission on creating sites:
<permissions>
<permission>
<name>create_domains</name>
<value>true</value>
</permission>
</permissions>
Note: To manage permissions, you should first retrieve permissions descriptor (for a specified reseller) which contains the permissions names. For details, refer to the Supported Operations: Managing Customer Accounts > Retrieving Descriptor of Permissions section.