master database only
syssrvroles contains a row for each system or user-defined role.
The columns for syssrvroles are:
Name |
Datatype |
Description |
---|---|---|
srid |
int |
Server role ID |
name |
varchar(30) |
Name of the role |
password |
varbinary(128) null |
Password for the role (encrypted) and readable only by a user with sso_role |
pwdate |
datetime null |
Date the password was last changed |
status |
smallint null |
Bitmap for role status (see Table 1-26) |
logincount |
smallint null |
Number of failed login attempts; reset to 0 by a successful login |
locksuid |
int null |
The user who locked the role. |
lockreason |
int null |
The reason why a role was locked. |
lockdate |
datetime null |
The date and time a role was locked. |
Table 1-26 lists the bit representations for the status column:
Decimal |
Hex |
Status |
---|---|---|
2 |
0x2 |
Role is locked |
4 |
0x4 |
Role is expired |
Unique clustered index on srid