Partager via


Resource.ReadDelegations - Méthode

Lit les informations de délégation utilisées pour gérer les ressources.

Espace de noms :  WebSvcResource
Assembly :  ProjectServerServices (dans ProjectServerServices.dll)

Syntaxe

'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegations", 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 ReadDelegations ( _
    filter As DelegationFilter, _
    resUid As Guid _
) As UserDelegationDataSet
'Utilisation
Dim instance As Resource
Dim filter As DelegationFilter
Dim resUid As Guid
Dim returnValue As UserDelegationDataSet

returnValue = instance.ReadDelegations(filter, _
    resUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegations", 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 UserDelegationDataSet ReadDelegations(
    DelegationFilter filter,
    Guid resUid
)

Paramètres

Valeur renvoyée

Type : WebSvcResource.UserDelegationDataSet
Cette propriété renvoie UserDelegationDataSet.

Remarques

Autorisations Project Server

Autorisation

Description

Non standard

Vous devez disposer de le ManageWorkflow ou ChangeWorkflow autorisation globale. Si vous avez l'autorisation de ChangeWorkflow , vous devez également les autorisations de catégorie à la fois les OpenProject et SaveProject .

Voir aussi

Référence

Resource classe

Resource - Membres

WebSvcResource - Espace de noms