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)

'Declaration
Public Property RolesPopulated As Boolean
'Usage
Dim instance As RoleManagerEventArgs
Dim value As Boolean

value = instance.RolesPopulated

instance.RolesPopulated = value
/** @property */
public boolean get_RolesPopulated ()

/** @property */
public void set_RolesPopulated (boolean value)

public function get RolesPopulated () : boolean

public function set RolesPopulated (value : boolean)

Not applicable.

Property Value

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: