Share via


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.

See Also

Reference

Security Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)

Other Resources

Principals

Help and Information

Getting SQL Server 2005 Assistance