Can we create a Role (DUAS / UVMS / UVC...) in UVMS using the command line?
Release : 6.10
Component : DOLLAR UNIVERSE
Subcomponent: Univiewer Management Server
Unfortunately Roles are the only Security Object that cannot be created directly using a command line like "uniadd ROLE".
Reason being that there are many different Roles (UVC,UVMS,DUAS,Reporter,DUX) and many and diverse Sections inside each of them.
If you want to build the Security of the UVMS creating different Roles for example per Application / Node Views, we advise to clone a predefined Role and graphically edit the necessary content.
Then export this Role as a template to a xml file with the command "uniexpsec -role nameoftherole" and modify this template xml to map the desired filters, then rename it and import it with the command "uniimpsec"
The description of these commands is available in the documentation: