UVMS: Roles creation using the command line

book

Article ID: 143959

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Can we create a Role (DUAS / UVMS / UVC...) in UVMS using the command line?

 

Environment

Release : 6.10

Component : DOLLAR UNIVERSE

Subcomponent: Univiewer Management Server

Resolution

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:

https://docs.automic.com/documentation/webhelp/english/ALL/components/DU_AS/latest/%20%20Dollar%20Universe%20Guides/help.htm#UV_adm/uniexpsec.htm%3FTocPath%3DUniviewer%2520Administration%2520Guide%7CCommands%7CSecurity%7C_____1