sysmembers

Transact-SQL Reference

Transact-SQL Reference

sysmembers

Contains a row for each member of a database role. This table is stored in each database.

Column name Data type Description
memberuid smallint User ID for the role member.
groupuid smallint User ID for the role.