ProjectServerCredentials
ProjectServerCredentials class
Credentials which are used to connect to Project Online or on-premise instance of Project Server.
Constructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| get_AuthToken | Gets the authorization token for the SharePoint instance. |
| get_SiteUrl | Gets 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_UserName | Gets the user name for SharePoint site. |
| ToString | Returns a string representation of this instance. |