共用方式為


Security.DeleteGroups Method

Deletes all specified security groups.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/DeleteGroups", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub DeleteGroups ( _
    groupUids As Guid() _
)
'Usage
Dim instance As Security
Dim groupUids As Guid()

instance.DeleteGroups(groupUids)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/DeleteGroups", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void DeleteGroups(
    Guid[] groupUids
)

Parameters

  • groupUids
    Type: []
    An array of one or more security group GUIDs.

Remarks

Project Server Permissions

Permission

Description

ManageUsersAndGroups

Allows a user to manage the Project Server users and groups. Global permission.

See Also

Reference

Security Class

Security Members

Security Web Service