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)
Syntax
'Declaration
Public Shared Function GetV3SecurePassword ( _
pi As SPProcessIdentity _
) As SecureString
'Usage
Dim pi As SPProcessIdentity
Dim returnValue As SecureString
returnValue = SPUtility.GetV3SecurePassword(pi)
public static SecureString GetV3SecurePassword(
SPProcessIdentity pi
)
Parameters
pi
Type: Microsoft.SharePoint.Administration.SPProcessIdentityA 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.