AuthenticationHelper CheckPasswordExpiration Method Kentico 8.0 API Reference
Check if user password is expired and optionally according to settings lock expired password account.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

ui
Type: CMS.Membership UserInfo
User account to check
siteName
Type: OnlineSystem String
Site name
lockAccount (Optional)
Type: OnlineSystem Boolean
Indicates if account should be locked if maximum invalid logon attempts was reached
returnUrl (Optional)
Type: OnlineSystem String
URL using which user can log on to system, after password change

Return Value

Type: OnlineBoolean
Returns true if user password expired, false otherwise
See Also