Check if user password is expired and optionally according to settings lock expired password account.
Namespace: CMS.MembershipAssembly: 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: System String
Site name
- lockAccount (Optional)
- Type: System Boolean
Indicates if account should be locked if maximum invalid logon attempts was reached
- returnUrl (Optional)
- Type: System String
URL using which user can log on to system, after password change
Return Value
Type: BooleanReturns true if user password expired, false otherwise
See Also