Commands: How to get names of all databases on a server?

To download all available database names from a server, use the getDatabaseNames command from GlobalAdmin.

Syntax

public String[] getDatabaseNames(int pageSize);

public String[] getDatabaseNames(int pageSize, int start);
Parameters
pageSize int Maximum number of records that will be downloaded
start int Number of records that should be skipped. Default: 0
Return Value
String[] Names of all databases on a server

Example

String[] databaseNames =
  store.getDatabaseCommands().getGlobalAdmin().getDatabaseNames(10);