Resource.ReadResourceListByDepartment Method

Returns unique identifiers and resources names within a given Department for which a user has permissions.

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

Syntax

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

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

Parameters

Return Value

Type: [Resource Web service].ResourceDataSet
Returns ResourceDataSet.

Remarks

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

Resource Class

Resource Members

Resource Web Service