SPManagedAccount.GeneratePassword method

Generates a new password and changes the account password to this new random 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 GeneratePassword ( _
    eventFlags As SPManagedAccount.EventProcessingOptions _
)
'Usage
Dim instance As SPManagedAccount
Dim eventFlags As SPManagedAccount.EventProcessingOptions

instance.GeneratePassword(eventFlags)
public void GeneratePassword(
    SPManagedAccount.EventProcessingOptions eventFlags
)

Parameters

See also

Reference

SPManagedAccount class

SPManagedAccount members

Microsoft.SharePoint.Administration namespace