Share via


IdentityBuilder.AddUserManager<TUserManager> Method

Definition

Adds a UserManager<TUser> for the UserType.

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

Type Parameters

TUserManager

The type of the user manager to add.

Returns

The current IdentityBuilder instance.

Applies to