public interface GroupService extends Service
GetGroupsResponse
and check user membership in group.Modifier and Type | Method and Description |
---|---|
GetGroupsResponse |
getGroupsbyIds(List<String> groupIds)
Retrieves
GetGroupsResponse for the given List of group IDs. |
GetGroupsResponse |
getGroupsByNames(List<String> groupNames)
Retrieves
GetGroupsResponse for the given List of group names. |
boolean |
isUserInGroup(String userId,
Group group)
Check if a user belongs to a group.
|
GetGroupsResponse getGroupsByNames(List<String> groupNames)
GetGroupsResponse
for the given List of group names.groupNames
- List of group names, maximum 500. Invalid names are ignored. Cannot be null.GetGroupsResponse
objectGetGroupsResponse getGroupsbyIds(List<String> groupIds)
GetGroupsResponse
for the given List of group IDs.groupIds
- List of group ids, maximum 500. Invalid ids are ignored. Cannot be null.GetGroupsResponse
objectboolean isUserInGroup(String userId, Group group)
userId
- id of the user to check. Cannot be null.group
- Group object. Cannot be null.Copyright © Veeva Systems 2017–2021. All rights reserved.