role import

The role import command imports role definitions, and their associated permissions, from the JSON file roles.json, which is defined using the role export command.


role import --f File
Required Argument Description
Yes --f File Specifies the name of the file containing the roles and permissions. If the role does not exist, it will be created with permissions from the file. If the role exists, it will be updated.

If you do not specify a path, the roles are imported from the location of the Administration Utility installation.


This example imports roles to the RoleImports file.

role import --f RoleImports