ProjectServerCredentials Class

Credentials which are used to connect to Project Online.
Inheritance Hierarchy
SystemObject
  Aspose.TasksProjectServerCredentials

Namespace:  Aspose.Tasks
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 20.6
Syntax
public sealed class ProjectServerCredentials

The ProjectServerCredentials type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleProjectServerCredentials(String, NetworkCredential)
Initializes a new instance of the ProjectServerCredentials class using url of Project Web Access endpoint and network credentials.
Public methodProjectServerCredentials(String, String)
Initializes a new instance of the ProjectServerCredentials class using url of SharePoint site and valid authorization token for SharePoint site.
Public methodProjectServerCredentials(String, String, String)
Initializes a new instance of the ProjectServerCredentials class using url of SharePoint site, user name and password.
Properties
  NameDescription
Public propertyAuthToken
Gets the authorization token for the SharePoint instance.
Public propertySiteUrl
Gets the URL of the SharePoint site or URL of on-premise Project Server. For example, https://your_company_name.sharepoint.com";
Public propertyUserName
Gets the user name for SharePoint site.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also