Click or drag to resize
ApplicationUserStoreTUserAddLoginAsync Method
Adds an external UserLoginInfo to the specified user.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public Task AddLoginAsync(
	TUser user,
	UserLoginInfo login,
	CancellationToken cancellationToken
)

Parameters

user
Type: TUser
The user to add the login to.
login
Type: UserLoginInfo
The external UserLoginInfo to add to 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.AddLoginAsync(UTP, UserLoginInfo, CancellationToken)
Exceptions
ExceptionCondition
ArgumentNullExceptionuser or login is null.
See Also