Share via


SPProcessIdentity.Password property

NOTE: This API is now obsolete.

Use the SetPassword(SecureString) method or the Provision() method.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the SetPassword and Provision methods instead.")> _
Public Property Password As String
    Get
    Set
'Usage
Dim instance As SPProcessIdentity
Dim value As String

value = instance.Password

instance.Password = value
[ObsoleteAttribute("Use the SetPassword and Provision methods instead.")]
public string Password { get; set; }

Property value

Type: System.String
A string that contains the password for the process identity.

Remarks

Whenever possible, use the SecurePassword property.

See also

Reference

SPProcessIdentity class

SPProcessIdentity members

Microsoft.SharePoint.Administration namespace