Share via


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

Return Value

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

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace