SharePointOnlineCredentials members

Represents an object that provides credentials to access SharePoint Online resources.

The SharePointOnlineCredentials type exposes the following members.

Constructors

  Name Description
Public method SharePointOnlineCredentials Initializes a new instance of the SharePointOnlineCredentials object.

Top

Properties

  Name Description
Public property UserName Gets the user name associated with the credentials that is passed in the SharePointOnlineCredentials constructor.

Top

Methods

  Name Description
Public method GetAuthenticationCookie(Uri) Gets the authentication cookie.
Public method GetAuthenticationCookie(Uri, Boolean)
Public method GetCredential Gets the network credentials with the specified URI and authentication type.
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event ExecutingWebRequest

Top

See also

Reference

SharePointOnlineCredentials class

Microsoft.SharePoint.Client namespace