|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Using Impersonation in Project Server
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
In custom applications for Microsoft Office Project Server 2007, it is sometimes necessary to impersonate another user. When a custom application calls the Project Server Interface (PSI) through the Project Web Access site, Project Server restricts the application user to that user's set of Project Server permissions. Custom applications can also make direct calls to the PSI through the Shared Service Provider Web application that hosts Project Web Access. With direct PSI calls, the application user can impersonate a Project Server user with a different set of permissions.
How to: Write a Simple Impersonation Application Learn how to develop a console application that uses impersonation.
Walkthrough: Develop an Impersonation Web Application Create, configure, and debug a Web application for Project Server that uses impersonation.