RoleManagerEventArgs.RolesPopulated Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether role information has been applied to the current user.
public:
property bool RolesPopulated { bool get(); void set(bool value); };
public bool RolesPopulated { get; set; }
member this.RolesPopulated : bool with get, set
Public Property RolesPopulated As Boolean
Property Value
true
if role information has been applied to the current user; otherwise, false
.
Remarks
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.
Applies to
See also
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk