SPUtility.GetV3SecurePassword Method

Returns a secure string that contains the password for a process identity.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

public static SecureString GetV3SecurePassword(
	SPProcessIdentity pi


Type: Microsoft.SharePoint.Administration.SPProcessIdentity

A process identity for an Internet Information Services (IIS) application pool or Windows service account.

Return Value

Type: System.Security.SecureString
A secure string that contains the password.