Applies to master database only. sysloginroles contains a row for each instance of a server login or login profile possessing a role. One row is added for each role granted to each login. For example, if a single server user is granted sa_role, sso_role, and oper_role, three rows are added to sysloginroles associated with that user’s system user ID (suid).
The columns for sysloginroles are:
Name | Datatype | Description |
---|---|---|
suid |
int |
Server user ID or login profile ID |
srid |
int |
Server role ID; one of the following:
|
status |
smallint |
Status bit that indicates whether the various server roles are set to their
defaults at login:
|
predid | int |
The object ID for the predicate of a grant role command. See Security Administration Guide > Predicated role activation. |
Clustered index on suid