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)
groupNames
- List of group names, maximum 500. Invalid names are ignored. Cannot be null.GetGroupsResponse getGroupsbyIds(List<String> groupIds)
groupIds
- List of group ids, maximum 500. Invalid ids are ignored. Cannot be null.boolean 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–2018. All rights reserved.