The role.exe
utility is used for managing roles for additional Plesk
users.
Location
%plesk_cli%
Usage
role.exe <command> [<login_name>] [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
Example
The following command creates a user role named webmaster for the
customer with the username JDoe. The role allows the customer’s users
created by that role to manage websites under the customer’s
subscription.
plesk bin role.exe --create webmaster -owner JDoe -webSitesAndDomainsManagement true
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--create or -c
|
<role name> |
Creates a user role. Requires the |
To create a role named webmaster for the customer with the plesk bin role.exe --create webmaster -owner JDoe -webSitesAndDomainsManagement true or plesk bin role.exe -c webmaster -owner JDoe -webSitesAndDomainsManagement true |
--update or -u
|
<role name> |
Updates user role properties. |
To revoke the permission to manage websites from the role plesk bin role.exe --update… |