ProjectServerCredentials

ProjectServerCredentials class

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

The ProjectServerCredentials type exposes the following members:

Constructors

NameDescription
ProjectServerCredentials(site_url, auth_token)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.
ProjectServerCredentials(site_url, user_name, password)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.

Properties

NameDescription
site_urlGets the URL of PWA at SharePoint site or URL of on-premise Project Server.
For example, https://your_company_name.sharepoint.com/sites/pwa";
auth_tokenGets the authorization token for the SharePoint instance.
user_nameGets the user name for SharePoint site.

See Also