次の方法で共有


Admin.QueueADSyncJob Method

Runs Active Directory synchronization with the Enterprise Resource Pool.

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/QueueADSyncJob", 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 Sub QueueADSyncJob ( _
    jobUid As Guid, _
    erpSync As Boolean, _
    groupSync As Boolean _
)
'Usage
Dim instance As Admin
Dim jobUid As Guid
Dim erpSync As Boolean
Dim groupSync As Boolean

instance.QueueADSyncJob(jobUid, erpSync, _
    groupSync)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/QueueADSyncJob", 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 void QueueADSyncJob(
    Guid jobUid,
    bool erpSync,
    bool groupSync
)

Parameters

  • erpSync
    Type: System.Boolean
    Specifies whether to synchronize the enterprise resource pool.
  • groupSync
    Type: System.Boolean
    Specifies whether to synchronize groups.

Remarks

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