Skip to main content
You can only retrieve projects for persons that are SuperOffice users (associates).The signed-in user must also have permission to view those projects. Otherwise, an exception is thrown.
To view basic info, use NSProject:
To view (and possibly update) complex info, use NSProjectEntity:

NSProject[] GetProjectList(Integer[] p0)

To call GetProjectList(), we need to create the list of project IDs first. In this example, we use SearchEngine to get the ID of all projects headed by a specific associate and not marked as done.

NSProject[] GetProjectsFromContact(Integer contactId)

A company is implicitly linked to a project when at least 1 person in that organization is a member of that project.

NSProject[] GetProjectsFromPerson(Integer personId)