Share via


CredentialManager Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Manages the user credentials used by Visual Studio for communicating with SharePoint.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.SharePoint.Remote.Authentication.CredentialManager

Namespace:  Microsoft.VisualStudio.SharePoint.Remote.Authentication
Assembly:  Microsoft.VisualStudio.SharePoint.Remote (in Microsoft.VisualStudio.SharePoint.Remote.dll)

Syntax

'Declaration
Public NotInheritable Class CredentialManager
public sealed class CredentialManager

The CredentialManager type exposes the following members.

Constructors

  Name Description
Public method CredentialManager Initializes a new instance of the CredentialManager class.

Top

Properties

  Name Description
Public propertyStatic member Instance Gets the singleton of CredentialManager.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetCredentials Retrieves the user credential with the given site url.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

Microsoft.VisualStudio.SharePoint.Remote.Authentication Namespace