WssInterop.QueueSynchronizeMembershipForWssSite Method
Synchronizes users of Microsoft Office Project Server 2007 with the SharePoint workspace site for the specified project.
Namespace: WebSvcWssInterop
Assembly: ProjectServerWebServices (in ProjectServerWebServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/QueueSynchronizeMembershipForWssSite", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/WssInterop/", _
ResponseNamespace := "http://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("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/QueueSynchronizeMembershipForWssSite", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/WssInterop/",
ResponseNamespace = "http://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
GUID of the project.
- jobUid
Type: System.Guid
GUID of the queue job.
Remarks
The QueueSynchronizeMembershipForWssSite method deletes and then recreates the following project workspace 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 |
|---|---|
Manage the project workspace site. Global permission. |
|
Publish a project. Category permission. |