getUserListOfAllClusters

Syntax

getUserListOfAllClusters()

Arguments

None

Details

Get users for all clusters in the 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: List of the user.

Examples

getUserListOfAllClusters()
      
/* Output:
masterOfMaster->["user1","user2","admin"]
MoMSender->["admin","user2"]  
*/