WssInterop.QueueSynchronizeMembershipForWssSite Method
Synchronizes Project Server users with the SharePoint site for the specified project site.
Namespace: [WssInterop Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/WssInterop.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/WssInterop.asmx?wsdl
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/QueueSynchronizeMembershipForWssSite", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub QueueSynchronizeMembershipForWssSite ( _
projectUID As Guid, _
jobUid As Guid _
)
'Usage
Dim instance As WssInterop
Dim projectUID As Guid
Dim jobUid As Guid
instance.QueueSynchronizeMembershipForWssSite(projectUID, _
jobUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/QueueSynchronizeMembershipForWssSite", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueueSynchronizeMembershipForWssSite(
Guid projectUID,
Guid jobUid
)
Parameters
- projectUID
Type: System.Guid
The unique identifier of the project.
- jobUid
Type: System.Guid
The unique identifier of the queue job.
Remarks
The QueueSynchronizeMembershipForWssSite method deletes and then recreates the following project site roles: Administrator, Project Manager, Team Member, and Reader. The method then adds the correct Project Server users to each role.
QueueSynchronizeMembershipForWssSite is an asynchronous method that sends a message to the Project Server Queuing Service.
Project Server Permissions
One of the following permissions is required.
Permission |
Description |
---|---|
Allows the user to manage the project site. Global permission. |
|
Allows the user to publish a project. Category permission. |