Is there a way to pull down a list of Project Areas a user is a member of using the REST API?
One answer
Hi Corbyn,
If you are using RRDI you can easily create a report like this. The data warehouse and reporting data model has a built in access control layer that restricts users from seeing data they do not have access to. So if you create a simple report called "My work items" that just shows work items grouped by project and run it as userA, you will see all the work items userA has access to. If the same report is run by userB, userB will see all the work items userB has access to. The data however is not live and not retrieved using REST, so I'm not sure if it helps. I just don't think you can get this using REST because there is no access control implemented at the REST layer. The report from RRDI however can be exported to XML if you need it for parsing and you can also schedule report execution/delivery. Hope it helps,
If you are using RRDI you can easily create a report like this. The data warehouse and reporting data model has a built in access control layer that restricts users from seeing data they do not have access to. So if you create a simple report called "My work items" that just shows work items grouped by project and run it as userA, you will see all the work items userA has access to. If the same report is run by userB, userB will see all the work items userB has access to. The data however is not live and not retrieved using REST, so I'm not sure if it helps. I just don't think you can get this using REST because there is no access control implemented at the REST layer. The report from RRDI however can be exported to XML if you need it for parsing and you can also schedule report execution/delivery. Hope it helps,