Resource.ReadResourceListByDepartment method

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

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

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: WebSvcResource.ResourceDataSet
Returns ResourceDataSet.

Remarks

Project Server Permissions

Permission

Description

LogOn

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

See also

Reference

Resource class

Resource members

WebSvcResource namespace