How to add a role to a web applicaiton programmatically?
Hi developers!
I have an existing CSP app and I want to add a role to it. How can I make it programmatically?
Hi developers!
I have an existing CSP app and I want to add a role to it. How can I make it programmatically?
I was very interested in this question! Looking at this really great post here, there was some documentation I wanted to look at but it's giving me access errors :( hoping to read up on the security package documentation soon!
Hello @Evgeny Shvarov ,
I tested the following code in an Iris terminal to add %DB_%DEFAULT role, It seems to work :
If you are using %INSTALLER, you can use GRANT to assign a role:
I have tested and confirmed that this does add the Application Role.