How do I get a list of the projects on a gateway?

In the meantime: Project List - Include hidden projects

Edit: oops, that method is already posted in this thread.