Share via


SPManagedAccount.EnableEmailBeforePasswordChange property

Gets or sets whether to enable Microsoft SharePoint Foundation to send an email before SharePoint Foundation changes a password.

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

Syntax

'Declaration
Public Property EnableEmailBeforePasswordChange As Boolean
    Get
    Set
'Usage
Dim instance As SPManagedAccount
Dim value As Boolean

value = instance.EnableEmailBeforePasswordChange

instance.EnableEmailBeforePasswordChange = value
public bool EnableEmailBeforePasswordChange { get; set; }

Property value

Type: System.Boolean
true if SharePoint Foundation is enabled to send an email before changing the password; otherwise false.

See also

Reference

SPManagedAccount class

SPManagedAccount members

Microsoft.SharePoint.Administration namespace