Click or drag to resize
AuthenticationHelperIsPasswordExpirationEnabled Method
Indicates if password expiration is enabled

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
public static bool IsPasswordExpirationEnabled(
	string siteName,
	out int expDays
)

Parameters

siteName
Type: SystemString
Site to check
expDays
Type: SystemInt32
Number of days before password expiration

Return Value

Type: Boolean
True if password expiration is enabled, False otherwise
See Also