Share via


SPManagedAccount.ChangePassword method

Changes the account password to a new value, and propagates it to all front-end server (also known as the "Web front end").

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

Syntax

'Declaration
Public Sub ChangePassword ( _
    newPassword As SecureString, _
    eventFlags As SPManagedAccount.EventProcessingOptions _
)
'Usage
Dim instance As SPManagedAccount
Dim newPassword As SecureString
Dim eventFlags As SPManagedAccount.EventProcessingOptions

instance.ChangePassword(newPassword, _
    eventFlags)
public void ChangePassword(
    SecureString newPassword,
    SPManagedAccount.EventProcessingOptions eventFlags
)

Parameters

See also

Reference

SPManagedAccount class

SPManagedAccount members

Microsoft.SharePoint.Administration namespace