Partager via


WssInterop.UpdateMembershipForWssSite Method

Updates changes in role membership for a specified project site SharePoint 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/UpdateMembershipForWssSite", 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 UpdateMembershipForWssSite ( _
    projectUID As Guid, _
    lastRevCounter As Integer _
)
'Usage
Dim instance As WssInterop
Dim projectUID As Guid
Dim lastRevCounter As Integer

instance.UpdateMembershipForWssSite(projectUID, _
    lastRevCounter)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/UpdateMembershipForWssSite", 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 UpdateMembershipForWssSite(
    Guid projectUID,
    int lastRevCounter
)

Parameters

  • projectUID
    Type: System.Guid
    The unique identifier of the project.
  • lastRevCounter
    Type: System.Int32
    The counter for the last revision.

Remarks

The role membership changes are those that have occurred since the last revision. The SharePoint roles for a project site are Administrator, Project Manager, Team Member, and Reader.

Project Server Permissions

One of the following permissions is required.

Permission

Description

ManageWindowsSharePointServices

Allows the user to manage the project site. Global permission.

PublishProject

Allows the user to publish a project. Category permission.

SaveProject

Allows the user to save a project. Category permission.

See Also

Reference

WssInterop Class

WssInterop Members

WssInterop Web Service