Project List using PSI

V

virsharma

Hello All,
I need to get the Project List using PSI but it should return the list of
Project on which current logged in user has Read/Write rights.
Thanks in advance ..

Regards
~Virendra Sharma
 
A

Aws-admin/dev

I'm not sure if buy read/write rights you mean the resource can see the
project in MSP or its not checked out so he can open it read/write.

If it's the first option this might help:

In SQL you can get the list of project a user has access to through the
[Projectserver_Published].[dbo].[MSP_WEB_FN_SEC_GetAllProjectsResCanViewByViewID]
Function.

For the PSI you can try this link
http://msdn2.microsoft.com/en-us/library/bb428819.aspx#pj12_ChangeXMLUtil_Code_Update
it has some code you might find useful. It's about the changexmlutil code
sample in the SDK and can be used to update the project data.
 

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