project-serverproject-server-2007psi

If I only know a project's name how do I get its GUID?


The PSI has various methods such as ReadProject that only take a project GUID and not its name.

If I only have a project's name, how do I retrieve its GUID for use in other PSI methods?


Solution

  • Use ReadProjectStatus. It allows passing through an empty GUID but a project name to retrieve this information.