Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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.

In SQL Server 2005 and later versions, the visibility of the metadata in catalog views is limited to securables that a user either owns or on which the user has been granted some permission. For more information, see Metadata Visibility Configuration.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.