Permissions for resellers created with a reseller plan are specified by the permissions node which is presented by clientPerms type (plesk_client.xsd). The permissions node graphical representation is as follows:

image-60450.png

  • 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 code represents the permission on creating subscriptions:

<permissions>
   <permission>
      <name>create_domains</name>
      <value>true</value>
   </permission>
</permissions>

Note: To set up permissions, you should first retrieve permissions descriptor that contains names of permissions. For details, refer to the Managing Subscriptions > Retrieving Descriptor of Permissions section.