| AuthenticationHelperCheckPasswordExpiration Method | 
            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: 10.0.0
 Syntax
Syntaxpublic static bool CheckPasswordExpiration(
	UserInfo ui,
	string siteName,
	bool lockAccount = false,
	string returnUrl = null
)
Parameters
- ui
- Type: CMS.MembershipUserInfo
 User account to check
- siteName
- Type: SystemString
 Site name
- lockAccount (Optional)
- Type: SystemBoolean
 Indicates if account should be locked if maximum invalid logon attempts was reached
- returnUrl (Optional)
- Type: SystemString
 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
See Also