Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Getting logged in user Project Server Credential in MS Project Add IN to pass in PSI call.

$
0
0

Hi,

I have  developed a MSProject Addin  using VSTO and I am facing issue in calling Project Server PSI services through it. I need to pass the logged in user credentials of Project professional but didn't find a way to get it.

I tried Using Application.UserName but it returns only the username but to call PSI we need both username and password. I also tried with Default credentials but in that case it searches Windows credential manager , if any authenticated user found of logged in domain then call is successful and if there is no user  present of the domain then gives Unauthentication  error.

So, please suggest a way how can I carry out authentication process for calling my PSI services  using the actual user who had logged in to project professional.



Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>