The getUserSpaceNames Method

You can retrieve the list of names of the user spaces that are currently defined in the metaspace by using the metaspace’s getUserSpaceNames method, which in Java returns a String[] and in C returns a StringList object (tibasStringList *).

Related reference