role export

The role export command exports all role definitions to a JSON file named roles.json. This file is used as input to the role import command.

Usage

role export --o Folder
RequiredArgumentDescription
No--o FolderSpecifies the name of the folder to which you want to export the roles. If you specify a relative path the path is relative to the location of the Administration Utility. If you do not specify a path the roles are exported to the folder where the Administration Utility is located.

Example

This example exports the roles to the RoleExports folder.

role export --o RoleExports
Note: You cannot export role permissions to directories whose names start with "\n" or "\t" are not allowed. Those character sequences are recognized as next line and tab characters, respectively. You can use forward slashes as a workaround.