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.4
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 methodCode exampleProjectServerCredentials(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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also