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

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