
## 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
| Name | Description |
| :- | :- |
|ProjectServerCredentials(site_url, auth_token)|Initializes a new instance of the [ProjectServerCredentials](/tasks/python-net/aspose.tasks/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](/tasks/python-net/aspose.tasks/projectservercredentials/) class using URL of SharePoint site and valid SPOIDCRL authorization token for SharePoint's PWA (Project Web Access) site.|
## Properties
| Name | Description |
| :- | :- |
|site_url|Gets the URL of PWA at SharePoint site or URL of on-premise Project Server.<br/>            For example, https://your_company_name.sharepoint.com/sites/pwa";|
|auth_token|Gets the authorization token for the SharePoint instance.|
|user_name|Gets the user name for SharePoint site.|

### See Also

* namespace [aspose.tasks](/tasks/python-net/aspose.tasks/)
* assembly [Aspose.Tasks](/tasks/python-net/)

