共用方式為


Admin.GetActiveDirectorySyncEnterpriseResourcePoolSettings Method

Reads the settings for synchronizing the Enterprise Resource Pool with Active Directory directory services.

Namespace:  [Admin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Admin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Admin.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/GetActiveDirectorySyncEnterpriseResourcePoolSettings", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetActiveDirectorySyncEnterpriseResourcePoolSettings As ADSyncERPSettings
'Usage
Dim instance As Admin
Dim returnValue As ADSyncERPSettings

returnValue = instance.GetActiveDirectorySyncEnterpriseResourcePoolSettings()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/GetActiveDirectorySyncEnterpriseResourcePoolSettings", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ADSyncERPSettings GetActiveDirectorySyncEnterpriseResourcePoolSettings()

Return Value

Type: [Admin Web service].ADSyncERPSettings

Remarks

The Active Directory Synchronization page in Project Web App (https://ServerName/ProjectServerName/layouts/pwa/admin/ADSyncERP.aspx) uses the GetActiveDirectorySyncEnterpriseResourcePoolSettings method.

Project Server Permissions

Permission

Description

ManageActiveDirectorySettings

Allows a user to manage Active Directory settings. Global permission.

ManageSiteServices

Allows a user to administer services such as Active Directory settings and database timeouts. Global permission.

See Also

Reference

Admin Class

Admin Members

Admin Web Service