The ListMembers method returns a NameList object that enumerates the Microsoft® SQL Server™ 2000 database roles in which a database user has membership, or the server roles in which a login has membership.
object.ListMembers( ) as NameList
object
Expression that evaluates to an object in the Applies To list
HRESULT ListMembers(
LPSQLDMONAMELIST* ppList);
A NameList object that enumerates system and user-defined security roles.