addtorole
Syntax and description
The addtorole command adds the submitted principal (user or role) to the specified role. See the topic Roles for the relationship of a principal to a role.
mobiletogetherserver addtorole [options] Role Principal |
•The Role argument is required and specifies the name of the MobileTogether Server role to which the submitted principal will be added.
•The Principal argument is required and submits the name of the principal that is to be added to the specified role.
•Use the --h, --help option to display information about the command.
MobileTogetherServer on Windows mobiletogetherserver on Windows and Unix (Linux, Mac)
* Note that lowercase (mobiletogetherserver) works on all platforms (Windows, Linux, and Mac), while upper-lower (MobileTogetherServer) works only on Windows and Mac. * Use forward slashes on Linux and Mac, backslashes on Windows.
|
Example
Examples of the addtorole command:
mobiletogetherserver addtorole Legal Tech-01
•The command adds the principal named Tech-01 to the role named Legal.
Options
Use the --h, --help option to display information about the command.