Click or drag to resize
UserStoreSetLockoutEndDateAsync Method
Locks a user out until the specified end date (set to a past date, to unlock a user).

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 12.0.0
Syntax
C#
public Task SetLockoutEndDateAsync(
	User user,
	DateTimeOffset lockoutEnd
)

Parameters

user
Type: Kentico.MembershipUser
User.
lockoutEnd
Type: SystemDateTimeOffset
DateTimeOffset that represents the end of a user's lockout.

Return Value

Type: Task

Implements

IUserLockoutStore.SetLockoutEndDateAsync(UTP, DateTimeOffset)
See Also