IFPCFormsBasedAuthenticationProperties::PasswordExpirationWarningPeriod property

Applies to: desktop apps only

The PasswordExpirationWarningPeriod property gets or sets the password expiration warning period, in days.

This property is read/write.

Syntax

HRESULT put_PasswordExpirationWarningPeriod(
  long lPasswordExpirationWarningPeriod
);

HRESULT get_PasswordExpirationWarningPeriod(
  long *plPasswordExpirationWarningPeriod
);
' Data type: Long

Property PasswordExpirationWarningPeriod( _
  ByVal lPasswordExpirationWarningPeriod As long, _
  ByVal plPasswordExpirationWarningPeriod As long _
) As Long

Property value

A 32-bit integer that specifies the password expiration warning period, in days.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is 15 days, and its range of permissible values is from 1 through 999.

This property is applicable only if the PasswordExpirationWarningEnabled property is set to True (VARIANT_TRUE in C++) and the AuthenticationSchemes property of the Web listener references the FBA with AD or FBA with LDAP authentication scheme.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCFormsBasedAuthenticationProperties

 

 

Build date: 7/12/2010