Compartir a través de


IdentityBuilder.AddRoleManager<TRoleManager> Método

Definición

Agrega un RoleManager<TRole> para .RoleType

public:
generic <typename TRoleManager>
 where TRoleManager : class virtual Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddRoleManager();
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddRoleManager<TRoleManager> () where TRoleManager : class;
abstract member AddRoleManager : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'RoleManager : null)
override this.AddRoleManager : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'RoleManager : null)
Public Overridable Function AddRoleManager(Of TRoleManager As Class) () As IdentityBuilder

Parámetros de tipo

TRoleManager

Tipo del administrador de roles que se va a agregar.

Devoluciones

Instancia de IdentityBuilder actual.

Se aplica a