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
- credentialFlags
Type: Microsoft.SharePoint.Utilities.SPSessionCredentialsFlags