Share via


PasswordExpirationWarningPeriod Property of the IFPCFormsBasedAuthenticationProperties Interface

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

C++

HRESULT put_PasswordExpirationWarningPeriod(
    long lPasswordExpirationWarningPeriod
);
HRESULT get_PasswordExpirationWarningPeriod(
    long* plPasswordExpirationWarningPeriod
);

Parameters

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

  • plPasswordExpirationWarningPeriod
    Pointer to a variable that on return receives a 32-bit integer specifying the password expiration warning period, in days.

Return Value

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

Visual Basic

Property PasswordExpirationWarningPeriod As Long

Property Value

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

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

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCFormsBasedAuthenticationProperties

Send comments about this topic to Microsoft

Build date: 6/30/2010