共用方式為


UserClaimsPrincipalFactory<TUser,TRole>.RoleManager 屬性

定義

RoleManager<TRole>取得這個處理站的 。

public:
 property Microsoft::AspNetCore::Identity::RoleManager<TRole> ^ RoleManager { Microsoft::AspNetCore::Identity::RoleManager<TRole> ^ get(); };
public Microsoft.AspNetCore.Identity.RoleManager<TRole> RoleManager { get; }
member this.RoleManager : Microsoft.AspNetCore.Identity.RoleManager<'Role (requires 'Role : null)>
Public ReadOnly Property RoleManager As RoleManager(Of TRole)

屬性值

這個 Factory 實例的目前 RoleManager<TRole>

適用於