How do I get both the names and the ids of all the groups using apex?
Or, since I know the name of the group I'm looking for, how can I get the id of a specific group based on its name?
I'm looking at this api.
Apparently ConnectApi.getGroups > group.information.title
isn't the name of the group, nor does that give you the id of the group.
I could use ConnectApi.searchGroups
, , but that returns the same thing as getGroups
.