Contains a sequential list of role groups that the LoginView control uses to determine which control template to display to users based on their role. This class cannot be inherited.
Assembly: System.Web (in System.Web.dll)
The class manages the list of role groups associated with a particular LoginView template. Each role group defines the content and controls to display to a particular group of users on your Web site. It is possible to assign several role groups to the same template.
To find the role group in the collection that a particular user belongs to, you can use the GetMatchingRoleGroup method to search the collection by user name.
The order of the roles in the collection is important because matching is done sequentially based on the first role found.
You must configure role management to use the class to manage a list of role groups. For more information, see Understanding Role Management.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.