UserManager<TUser, TKey>.RemoveLoginAsync Method
Removes 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 TKey, _
login As UserLoginInfo _
) As Task(Of IdentityResult)
'Usage
Dim instance As UserManager
Dim userId As TKey
Dim login As UserLoginInfo
Dim returnValue As Task(Of IdentityResult)
returnValue = instance.RemoveLoginAsync(userId, _
login)
public virtual Task<IdentityResult> RemoveLoginAsync(
TKey userId,
UserLoginInfo login
)
public:
virtual Task<IdentityResult^>^ RemoveLoginAsync(
TKey userId,
UserLoginInfo^ login
)
abstract RemoveLoginAsync :
userId:'TKey *
login:UserLoginInfo -> Task<IdentityResult>
override RemoveLoginAsync :
userId:'TKey *
login:UserLoginInfo -> Task<IdentityResult>
public function RemoveLoginAsync(
userId : TKey,
login : UserLoginInfo
) : Task<IdentityResult>
Parameters
- userId
Type: TKey
The user ID.
- login
Type: Microsoft.AspNet.Identity.UserLoginInfo
The user login information.
Return Value
Type: System.Threading.Tasks.Task<IdentityResult>
The task representing the asynchronous operation.
See Also
Reference
UserManager<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace