Share via


Security.ReadProjectCategory method

Reads Project category information for web security.

Namespace:  WebSvcSecurity
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

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: WebSvcSecurity.SecurityProjectCategoriesDataSet

Remarks

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

WebSvcSecurity namespace