Partilhar 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)
Available in Sandboxed Solutions: No

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