0

Is there a way to get user permission for a project using its Guid. I have seen that you can get the permission of a user for the site but I am only interested in the users permissions for a specific project.

        ProjectContext pc = new ProjectContext(pwaPath)
        {
            Credentials = new NetworkCredential(username, password)
        };

        //now you can query
        pc.Load(pc.Projects);
        pc.ExecuteQuery();
        foreach (var p in pc.Projects)
        {
            Console.WriteLine(p.Name);
        }

I have all the project now and I want to get the permissions for a certain user? How can I proceed? Any idea thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.