Partilhar via


SPUtility.EnsureSessionCredentials Method

NOTE: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPUtility.EnsureAuthentication instead")> _
Public Shared Sub EnsureSessionCredentials ( _
    credentialFlags As SPSessionCredentialsFlags _
)
'Usage
Dim credentialFlags As SPSessionCredentialsFlagsSPUtility.EnsureSessionCredentials(credentialFlags)
[ObsoleteAttribute("Use SPUtility.EnsureAuthentication instead")]
public static void EnsureSessionCredentials(
    SPSessionCredentialsFlags credentialFlags
)

Parameters

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace