Question Randall Hiser · Mar 13, 2020 List All Available Resources Maybe I haven't seen anything about it in the documentation, but why isn't there a way to list all the Resources from the %SYS namespace from a class rather than through ^SECURITY Thinking maybe something like this: ##Class(Security.Resources).ListAll(.result) #Security #Caché 0 1 0 268
Question Randall Hiser · Mar 13, 2020 Adding Resources to a Newly Created Role I am attempting to pragmatically create a bunch of roles and then assign the appropriate resources to that role. Currently, the only ways to add resources to a role are to: 1. Do through Management Portal 2. Go through ^SECURITY (add resource one at a time) My Intention would be to do the following: do ^SECURITY Role Setup Edit Role When prompted for resources to add, be able to use * #Security #Caché 0 2 0 251