Share via


Project.ReadProjectListByDepartment Method

Returns GUIDs and names for all projects within the specified department for which the user has OpenProject permission.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectListByDepartment", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadProjectListByDepartment ( _
    departmentUid As Nullable(Of Guid) _
) As ProjectDataSet
'Usage
Dim instance As Project
Dim departmentUid As Nullable(Of Guid)
Dim returnValue As ProjectDataSet

returnValue = instance.ReadProjectListByDepartment(departmentUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectListByDepartment", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ProjectDataSet ReadProjectListByDepartment(
    Nullable<Guid> departmentUid
)

Parameters

Return Value

Type: [Project Web service].ProjectDataSet
Contains the list of projects for the specified department.

Remarks

ReadProjectListByDepartment is a new method in Project Server 2010.

Project Server Permissions

Permission

Description

LogOn

Allows a user to log on to Project Server. Global permission.

See Also

Reference

Project Class

Project Members

Project Web Service