SDKsiOS
Check users’ group membership
Check which users belong to a specified iOS group.
Provide groupID and the candidate userIDs. The success callback returns the IDs of users who still belong to the target group without retrieving their complete member profiles. This method only establishes a snapshot and does not trigger the member delegate.
[[OIMManager manager] getUsersInGroup:groupID
userIDs:candidateUserIDs
onSuccess:^(NSArray<NSString *> *userIDs) {
[self replaceUsersInGroup:userIDs];
}
onFailure:^(NSInteger code, NSString *message) {
[self showErrorCode:code message:message];
}];Was this page helpful?