none
Get Project Server User Role with Services RRS feed

  • Question

  • Hi,

    How can i get the role of a project user with the PSI web services. I want to know for example if the user is a project manager, approver, project employee etc.?

    Thanks in advance

    Danson

    Friday, January 20, 2012 6:31 PM

Answers

  • Hi Danson,

    The ReadResource method will return a number of datasets, the one you probably need to look at is the ResourceCustomFields dataset that will show what custom field values are assigned to the resource. This will only be populated if you have configured Resource Custom Fields.

    If you are trying to determine the Project Manager of a project schedule by virtue of the schedule itself, check the Project Owner field which you should be able to get from the ReadProject method and the resultant ProjectDataSet.

    As for getting the date a task was last modified, the ReadProject method retrieves a task data set that includes the CREATED_DATE and MOD_DATE fields. Likewise the ReadResource method, ResourceDataSet has a CREATED_DATE and MOD_DATE field which should assist.

    Hope this helps,

     


    Alex Burton
    www.epmsource.com | Twitter
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page
    Sunday, January 22, 2012 8:56 AM
    Moderator

All replies