Share via


SPProcessIdentity.SetPassword method

Sets the password value stored in this object. Returns true if the password actually changed.

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

Syntax

'Declaration
Public Function SetPassword ( _
    value As SecureString _
) As Boolean
'Usage
Dim instance As SPProcessIdentity
Dim value As SecureString
Dim returnValue As Boolean

returnValue = instance.SetPassword(value)
public bool SetPassword(
    SecureString value
)

Parameters

Return value

Type: System.Boolean
Returns Boolean.

See also

Reference

SPProcessIdentity class

SPProcessIdentity members

Microsoft.SharePoint.Administration namespace