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)

属性值

此工厂实例的当前 RoleManager<TRole> 值。

适用于