Backing up/Exporting created Roles
I have created some roles, and would like to know if there is a way to export the Roles and save them off to a file? I want to create a backup file of these roles for DR purpose, and in case I ever get hit by the preverbal bus.
Thanks
Scott Roth
The Ohio State University Wexner Medical Center
Yes.
Check Export/Import method of Security.Roles class.
See also using the ^SECURITY utility (for manual export vs. programmatic which is possible via the Security package classes API).
For example: