SharePointOnlineCredentials.GetCredential method

SharePoint 2013

Gets the network credentials with the specified URI and authentication type.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

public NetworkCredential GetCredential(
	Uri uri,
	string authType
)

Parameters

uri
Type: System.Uri

The URI that the credentials will be sent.

authType
Type: System.String

The authentication type.

Return value

Type: System.Net.NetworkCredential
The method always return a null reference (Nothing in Visual Basic).

Implements

ICredentials.GetCredential(Uri, String)
Show:
© 2015 Microsoft