Export (0) Print
Expand All

RoleManagerEventArgs.RolesPopulated Property

Gets or sets a value indicating whether role information has been applied to the current user.

Namespace:  System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public bool RolesPopulated { get; set; }

Property Value

Type: System.Boolean
true if role information has been applied to the current user; otherwise, false.

The RolesPopulated property is used to enable or cancel creation of a RolePrincipal by the RoleManagerModule.

If set to true in the GetRoles event, then the RoleManagerModule assumes that role membership for the current user has been verified and any required role membership information has been set up for the current user. No action is taken by the RoleManagerModule to create a RolePrincipal object for the current user.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft