Security.ReadProjectCategory Method

Reads Project category information for web security.

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/ReadProjectCategory", 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 Function ReadProjectCategory ( _
    projUid As Guid _
) As SecurityProjectCategoriesDataSet
'Usage
Dim instance As Security
Dim projUid As Guid
Dim returnValue As SecurityProjectCategoriesDataSet

returnValue = instance.ReadProjectCategory(projUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadProjectCategory", 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 SecurityProjectCategoriesDataSet ReadProjectCategory(
    Guid projUid
)

Parameters

Return Value

Type: [Security Web service].SecurityProjectCategoriesDataSet

Remarks

This is a new method in Project Server 2010. The Project Permissions feature allows users or groups that have been granted the "Manage Basic Project Security" category permission to grant users and groups access to the projects that they own. They function like security categories. For more information, see https://blogs.msdn.com/b/project/archive/2010/03/04/project-2010-project-permissions.aspx.

For the sample code, see CreateProjectCategories.

Project Server Permissions

Permission

Description

Non-standard

You must have either the ManageWorkflow global pemission or the ChangeWorkflow global permission. If you have the ChangeWorkflow permission, you must also have both the OpenProject category permission and the SaveProject category permission.

See Also

Reference

Security Class

Security Members

Security Web Service