7.2 Get My Groups

The getMyGroups function returns all the groups, both public and private, the user is a member of.

The function takes the following parameters :

  • sessionId : Unique SessionId which is received in the login/registration function response.

bayunCore.getMyGroups("<sessionId>")
    .then(result => {
      console.log("Response received for getMyGroups.");
      console.log(result);
})
.catch(error => {
      console.log("Error caught");
      console.log(error);
});

Last updated

Was this helpful?