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
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Shared Function GetV3SecurePassword ( _
pi As SPProcessIdentity _
) As SecureString
'Usage
Dim pi As SPProcessIdentity
Dim returnValue As SecureString
returnValue = SPUtility.GetV3SecurePassword(pi)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
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.