Delen via


UserStore<TUser,TRole,TContext,TKey>.CreateUserLogin Method

Definition

Called to create a new instance of a IdentityUserLogin<TKey>.

protected:
 override Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserLogin<TKey> ^ CreateUserLogin(TUser user, Microsoft::AspNetCore::Identity::UserLoginInfo ^ login);
protected override Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<TKey> CreateUserLogin (TUser user, Microsoft.AspNetCore.Identity.UserLoginInfo login);
override this.CreateUserLogin : 'User * Microsoft.AspNetCore.Identity.UserLoginInfo -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<'Key (requires 'Key :> IEquatable<'Key>)>
Protected Overrides Function CreateUserLogin (user As TUser, login As UserLoginInfo) As IdentityUserLogin(Of TKey)

Parameters

user
TUser

The associated user.

login
UserLoginInfo

The sasociated login.

Returns

Applies to