getGroupListOfAllClusters

Syntax

getGroupListOfAllClusters()

Arguments

None

Details

Get the list of user groups across all clusters in a multi-cluster environment. This function can only be executed by an administrator on the MoM (Master of Masters) cluster.

Return value: A dictionary with the following keys:

  • key: Name of the cluster.
  • value: A list of user group names.

Examples

getGroupListOfAllClusters()
      
/* Output:
masterOfMaster->["group1"]
MoMSender->["group2"]  
*/