I'm trying to write a method to Export SQL Privileges from an instance by namespace, user, or roles. I've found two classes that might work:
- ##class(Security.Users).Export
- ##class(Security.SQLPrivileges).Export
One (Security.Users) exports an XML file and the other (Security.SQLPrivileges) exports an SQL file.