AuthenticationHelper CheckPasswordExpiration Method Kentico 8.1 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.1.5347.20411)

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