RoleGroupCollection.GetMatchingRoleGroup Method (IPrincipal)
Returns the first role group that contains the specified user account.
Assembly: System.Web (in System.Web.dll)
Themethod searches the role group collection and returns the first role group that contains the specified user account. The method searches the collection in the order role groups are added to the collection, and returns only the first matching role group.
If the specified user account is not part of any of the role groups in the collection, null is returned.
You must configure role management to use the Understanding Role Management.method. For more information, see
Available since 2.0