6.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 registration/login function response.
#include "BayunCore.h"
Bayun::ShMyGroupsResponse response = bayunCore->myGroups(sessionId);
if (response != nullptr) {
std::vector<Bayun::ShGroupInfo> groups = response->getGroups();
}
Last updated
Was this helpful?