sys.sysmembers (Transact-SQL)

Contains a row for each member of a database role.

Important

This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping SQL Server 2000 System Tables to SQL Server 2005 System Views. This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Column name

Data type

Description

memberuid

smallint

User ID for the role member. Overflows or returns NULL if the number of users and roles exceeds 32,767.

groupuid

smallint

User ID for the role. Overflows or returns NULL if the number of users and roles exceeds 32,767.

See Also

Reference

Mapping System Tables to System Views (Transact-SQL)

Compatibility Views (Transact-SQL)