SPManagedAccount.CanChangePassword property

Get a Boolean value that specifies whether Microsoft SharePoint Foundation is allowed change the password.

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

Syntax

'Declaration
Public ReadOnly Property CanChangePassword As Boolean
    Get
'Usage
Dim instance As SPManagedAccount
Dim value As Boolean

value = instance.CanChangePassword
public bool CanChangePassword { get; }

Property value

Type: System.Boolean
true if SharePoint Foundation is allowed to change the password; otherwise false.

See also

Reference

SPManagedAccount class

SPManagedAccount members

Microsoft.SharePoint.Administration namespace