RoleManagerModule Class
.NET Framework 3.0
Manages a RolePrincipal instance for the current user. This class cannot be inherited.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
System.Web.Security Namespace
Assembly: System.Web (in system.web.dll)
The RoleManagerModule class is used to assign a RolePrincipal to the User property of the CurrentHttpContext.
When a request completes, the RoleManagerModule refreshes the roles cookie that contains cached role information. If the User property is of type RolePrincipal, and that RolePrincipal indicates that its cached role list has been modified by setting the CachedListChanged property to true, the RoleManagerModule will update the roles cookie that contains cached role information.
This class is not intended to be used directly from your code.
- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
Reference
RoleManagerModule MembersSystem.Web.Security Namespace
Other Resources
Managing Authorization Using RolesCommunity Additions
ADD
Show: