Compartilhar via


UserStore<TUser,TRole,TContext,TKey>.CreateUserLogin Método

Definição

Chamado para criar uma nova instância de um 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)

Parâmetros

user
TUser

O usuário associado.

login
UserLoginInfo

O logon sasociado.

Retornos

Aplica-se a