TechNet
Expand All
The document is archived and information here might be outdated

sys.database_role_members (Transact-SQL)

Returns one row for each member of each database role.

Column name Data type Description

role_principal_id

int

Database Principal ID of the role.

member_principal_id

int

Database Principal ID of the member.

Show:
© 2016 Microsoft