Locking and unlocking roles

Accounting information such as when the role was locked, why it was locked, and who locked is stored in syssrvroles, and can be useful for role locking accounting.

There are several reasons roles may be locked:

Adaptive Server includes these columns in syssrvroles for lock information:

StepsLocking and unlocking roles

  1. The system security officer can use alter role to manually lock or unlock a role. For example:

    alter role physician_role lock
    alter role physician_role unlock
    

    Information about the lock status of a role is stored in the status column of syssrvroles.

    See alter role in Reference Manual: Commands.

NoteIn high-availability environments, these syssrvrole columns are updated on both the primary and secondary servers.