Project.ReadProjectListByDepartment method
Returns GUIDs and names for all projects within the specified department for which the user has OpenProject permission.
Namespace: WebSvcProject
Assembly: ProjectServerServices (in ProjectServerServices.dll)
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
- departmentUid
Type: System.Nullable<Guid>
Return value
Type: WebSvcProject.ProjectDataSet
Contains the list of projects for the specified department.
Remarks
ReadProjectListByDepartment is a new method in Project Server 2013.
Project Server Permissions
Permission |
Description |
---|---|
Allows a user to log on to Project Server. Global permission. |