问题 hs c · 九月 26, 2022 How to obtain the user's operation permission on the database #InterSystems IRIS How to obtain the user's operation permission on the database, How to obtain the user's operation permission on the class 产品版本: IRIS 2022.1$ZV: 0.1 0 0 27
Tete Zhang · 九月 27, 2022 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.D... 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.D... Please open up a WRC case if the methods above do not apply to your specific use case.
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.D...
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.D...
Please open up a WRC case if the methods above do not apply to your specific use case.