Share via


SPFarm.DaysBeforePasswordExpirationToSendEmail property

Number of days before password expiration to send email warning Used by the automatic password change feature.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property DaysBeforePasswordExpirationToSendEmail As Integer
    Get
    Set
'Usage
Dim instance As SPFarm
Dim value As Integer

value = instance.DaysBeforePasswordExpirationToSendEmail

instance.DaysBeforePasswordExpirationToSendEmail = value
public int DaysBeforePasswordExpirationToSendEmail { get; set; }

Property value

Type: System.Int32
Returns Int32.

See also

Reference

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace