How to obtain the user's operation permission on the database
How to obtain the user's operation permission on the database,
How to obtain the user's operation permission on the class
Product version: IRIS 2022.1
$ZV: 0.1
Comments
You can use the GetResourceSet() method in Security.User class to find the resources and privilege of a user.
https://docs.intersystems.com/irisforhealthlatest/csp/documatic/%25CSP…
The Security.SQLPrivileges class provides a Class Query DirectPrivileges that can output the SQL privileges a user has on classes.
https://docs.intersystems.com/irisforhealthlatest/csp/documatic/%25CSP…
Please open up a WRC case if the methods above do not apply to your specific use case.