sysloginroles

master database only

Description

sysloginroles contains a row for each instance of a server login possessing a system 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).

Columns

The columns for sysloginroles are:

Name

Datatype

Description

suid

int

Server user ID

srid

int

Server role ID; one of the following:

  • 0 = sa_role

  • 1 = sso_role

  • 2 = oper_role

  • 4 = navigator_role

  • 5 = replication_role

status

smallint

Reserved

Indexes

Clustered index On suid