Share via


SharePointOnlineCredentials class

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

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.SharePointOnlineCredentials

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

Syntax

'Declaration
Public NotInheritable Class SharePointOnlineCredentials _
    Implements ICredentials
'Usage
Dim instance As SharePointOnlineCredentials
public sealed class SharePointOnlineCredentials : ICredentials

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SharePointOnlineCredentials members

Microsoft.SharePoint.Client namespace