Show the Security Properties Dialog |
Scroll |
The TheSecurity class can also show the Security Properties Dialog for a loaded object.
1 |
Connect to the Thereforeâ„¢ server (see "Server - Connect and Disconnect" for Details) |
2 |
Declare and initialize a new TheSecurity instance. |
3 |
Load permissions for an object. |
4 |
Call the ShowDialog method to display the Security Properties Dialog. |
Requirements and Assumptions: Category number 9 exists in your Thereforeâ„¢ system. If these assumptions do not apply to your system or configuration please replace them with appropriate values when copying the code samples below. |
Data Consistency The Security Properties Dialog shows permissions as they are in the data base and therefore ignores all unsaved local changes you may have made through TheSecurity. If you make changes in the dialog and press the [Ok] button: Changes made through the dialog are committed to the server and TheSecurity reloads the object, thereby discarding all unsaved local changes made through TheSecurity. If you make no changes in the dialog and/or press the [Cancel] button: Nothing is committed to the server and unsaved local changes made through TheSecurity remain. |