Set privileges

The /SetPrivileges command sets a number of privileges at the same time using an XML file with the privileges that can be obtained with the /GetPrivileges command.

Parameters

The command has the following parameters:

Parameter

Required / Optional Description
/PrivilegeXML Required The location of an XML file containing the privileges to load.
/Mode Optional Mode can be replace or append.
  • replace removes existing privileges before setting the ones specified in the XML file.
  • append adds the privileges to the existing set.
  • When omitted, append is used.

Example

The following example demonstrates how to replace the privileges for the application app listed in the privileges XML file that resides in C:\Temp\privileges.xml.

ManageCM /SetPrivileges /PrivilegeXML=C:\Temp\privileges.xml /mode=replace