Share via


SPProcessIdentity.SecurePassword 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 SecurePassword As SecureString
    Get
    Set
'Usage
Dim instance As SPProcessIdentity
Dim value As SecureString

value = instance.SecurePassword

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

Property value

Type: System.Security.SecureString
A System.Security.SecureString object that represents the password for the process identity.

Remarks

Use the SecurePassword property instead of the Password property to provide better security for the password while it exists in memory.

See also

Reference

SPProcessIdentity class

SPProcessIdentity members

Microsoft.SharePoint.Administration namespace