Click or drag to resize
ApplicationUserStoreTUserRemoveLoginAsync Method
Attempts to remove the provided login information from the specified user. and returns a flag indicating whether the removal succeed or not.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public Task RemoveLoginAsync(
	TUser user,
	string loginProvider,
	string providerKey,
	CancellationToken cancellationToken
)

Parameters

user
Type: TUser
The user to remove the login information from.
loginProvider
Type: SystemString
The login provide whose information should be removed.
providerKey
Type: SystemString
The key given by the external login provider for the specified user.
cancellationToken
Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.

Return Value

Type: Task
The Task that represents the asynchronous operation.

Implements

IUserLoginStore.RemoveLoginAsync(UTP, String, String, CancellationToken)
Exceptions
ExceptionCondition
ArgumentNullExceptionuser is null.
See Also