Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the password value.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function SetPassword ( _
value As SecureString _
) As Boolean
'Usage
Dim instance As SPManagedAccount
Dim value As SecureString
Dim returnValue As Boolean
returnValue = instance.SetPassword(value)
public bool SetPassword(
SecureString value
)
Parameters
value
Type: System.Security.SecureStringA secure string that contains the password value.
Return Value
Type: System.Boolean
true if the password has been successfully changed; otherwise false.