Skip to main content
Version: 5.7.0

ListGroupsWithMember

Retrieve group summary information about the groups in which the specified user is a member.

ServiceOperation
groupLIST_GROUPS_WITH_MEMBER

Method Parameters

ParameterDescription
profileIdID of the user to search for

Usage

http://localhost:3000
string profileId = "profileId";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.Group.ListGroupsWithMember(profileId, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"groups": [
{
"groupType": "test",
"groupId": "69191b48-0cb1-4538-9758-e2f5ef4c524b",
"isOpenGroup": false,
"requestingPendingMemberCount": 0,
"invitedPendingMemberCount": 0,
"ownerId": "b67b2d73-1e8c-42e9-9be5-9c1879a48555",
"name": "test22",
"memberCount": 1
}
]
}
}