RoleGroup.ContainsUser Method
Assembly: System.Web (in system.web.dll)
The ContainsUser method returns true if the specified user is a member of any of the roles associated with this role group. Roles are searched in the order they are listed in the Roles property, and searching stops after the first match is found.
This method uses the IsUserInRole method to determine whether a user is a member of a role. You must configure role management to use the ContainsUser method. For more information, see Understanding Role Management.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.