Libraries are namespaces, just like SAS libraries, librefs, or libnames. Use CAS Get Libraries() to get libraries from the CAS server.
libraries = CAS Get Libraries();
Show( libraries );