Share via


UserManager<TUser>.RemoveLoginAsync Method

Remove a user login

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public Overridable Function RemoveLoginAsync ( _
    userId As String, _
    login As UserLoginInfo _
) As Task(Of IdentityResult)
'Usage
Dim instance As UserManager 
Dim userId As String 
Dim login As UserLoginInfo 
Dim returnValue As Task(Of IdentityResult)

returnValue = instance.RemoveLoginAsync(userId, _
    login)
public virtual Task<IdentityResult> RemoveLoginAsync(
    string userId,
    UserLoginInfo login
)
public:
virtual Task<IdentityResult^>^ RemoveLoginAsync(
    String^ userId, 
    UserLoginInfo^ login
)
abstract RemoveLoginAsync : 
        userId:string * 
        login:UserLoginInfo -> Task<IdentityResult> 
override RemoveLoginAsync : 
        userId:string * 
        login:UserLoginInfo -> Task<IdentityResult> 
public function RemoveLoginAsync(
    userId : String, 
    login : UserLoginInfo
) : Task<IdentityResult>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IdentityResult>

See Also

Reference

UserManager<TUser> Class

Microsoft.AspNet.Identity Namespace