Want to return list of projects

B

boggyboy

HI...Which of the PSI methods would I use to return a list of projects that
the currently assigned user is permitted to see?
 
A

Andrew Jacks

G'Day

I don't think there is one PSI call that will provide you with the list of
valid projects for the user.

However you can code around it. I would: -

Using the Project Web Service

1) Read List Of Projects via ProjectDataSet.ReadProjectList

Then For each Project returned

2) Read the list of team members via ProjectTeamDataSet
ReadProjectTeam(System.Guid projectUid)

3) Check that the user is in the returned list. If so Add Project to your list

Let me know how you get on
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top