SPUtility.EnsureSessionCredentials(SPSessionCredentialsFlags) Method

Definition

Caution

Use SPUtility.EnsureAuthentication instead

public:
 static void EnsureSessionCredentials(Microsoft::SharePoint::Utilities::SPSessionCredentialsFlags credentialFlags);
[System.Obsolete("Use SPUtility.EnsureAuthentication instead")]
public static void EnsureSessionCredentials (Microsoft.SharePoint.Utilities.SPSessionCredentialsFlags credentialFlags);
static member EnsureSessionCredentials : Microsoft.SharePoint.Utilities.SPSessionCredentialsFlags -> unit
Public Shared Sub EnsureSessionCredentials (credentialFlags As SPSessionCredentialsFlags)

Parameters

credentialFlags
SPSessionCredentialsFlags
Attributes

Applies to