Scénario de test & Cas d'usage
Management of access rights and data security.
Discover all actions of accessControlSetup the session and assume superuser role to allow administrative actions.
| 1 | |
| 2 | PROC CAS; |
| 3 | |
| 4 | ACCESSCONTROL.assumeRole / adminRole='superuser'; |
| 5 | |
| 6 | |
| 7 | RUN; |
| 8 |
| 1 | PROC CAS; |
| 2 | ACCESSCONTROL.startTransaction RESULT=tx; |
| 3 | ACCESSCONTROL.createBackup / caslib='casuser' name='Audit_Backup_Q4' transactionId=tx.transId; |
| 4 | RUN; |
| 1 | PROC CAS; |
| 2 | ACCESSCONTROL.completeBackup; |
| 3 | ACCESSCONTROL.commitTransaction / transactionId=tx.transId; |
| 4 | RUN; |
The backup 'Audit_Backup_Q4' is successfully created and explicitly flagged as complete. The transaction commits without error, confirming the security snapshot is valid.