How to create workflow users and roles programmatically?
Hi Community!
Do you know how to create workflow users and roles programmatically?
I use Docker for test deploy and I need to set up IRIS Interoperability using the install script.
Maybe do you know how to import/export already existing workflow users and roles?
There are multiple ways, just use Create method directly on classes Security.Roles, and Security.Users
Or, you can use %Installer manifest
I've asked about Workflow users and roles. But I can use your answer to improve my script. Thank you!
Hello,
I created a new role in my Installer class. How can I add the new role to Unknown User in Installer class?
Thanks,
Oliver
Set user = "UnknownUser"
Set role = "Services_Role"
Set tSC = ##class(Security.Users).AddRoles(user,role)
Export role/user globals as xml.
Thank you!
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue