sys.server_role_members (Transact-SQL)

Returns one row for each member of each fixed server role.

Column name Data type Description

role_principal_id

int

Server-Principal ID of the role.

member_principal_id

int

Server-Principal ID of the member.

See Also

Reference

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

Other Resources

Server-Level Roles
Principals

Help and Information

Getting SQL Server 2005 Assistance