ProjectServerCredentials

ProjectServerCredentials class

Credentials which are used to connect to Project Online or on-premise instance of Project Server.

Constructors

NameDescription
ProjectServerCredentials (3 overloads)Initializes a new instance of the ProjectServerCredentials class using URL of SharePoint site and valid SPOIDCRL authorization token for SharePoint’s PWA ( Project Web Access) site.

Methods

NameDescription
get_AuthTokenGets the authorization token for the SharePoint instance.
get_SiteUrlGets the URL of PWA at SharePoint site or URL of on-premise Project Server. For example, https://your_company_name.sharepoint.com/sites/pwa “;
get_UserNameGets the user name for SharePoint site.
ToStringReturns a string representation of this instance.