Josh,
Welcome to EG.
First, there is not really a way to programmatically read the contents of the Server List window.
The libraries you see there are:
- live libraries, yellow icons, already assigned
- "potential" libraries, defined in metadata, not yet assigned but that EG will assign on-demand as you interact with them. These are white icons instead of yellow. Hope your eyes are good enough to catch the subtle difference.
To write SAS programs that use these libraries, obviously they must be assigned. You can assign in code or petition the SAS administrator to mark the library you need as "pre-assigned" in metadata, which will cause SAS to assign it when you invoke your workspace session.
There is lots more information in the SAS BI Administration Guide; check the chapters about the desktop clients.
Chris