See: Description
Interface | Description |
---|---|
GetGroupsResponse |
Provides methods to retrieve Groups.
|
Group |
Provides methods to retrieve group related information.
|
GroupService |
Provides methods to retrieve GetGroupsResponse and check user membership in group.
|
Enum | Description |
---|---|
GroupType |
Valid values for group classifications.
|
The following example illustrates checking group membership for the current user:
GroupService groupService = ServiceLocator.locate(GroupService.class);
Group approverGroup = groupService
.getGroupsByNames(VaultCollections.asList("approver__c"))
.getGroupByName("approver__c");
boolean isCurrentUserInGroup = groupService.isUserInGroup(currentUserId, approverGroup);
Copyright © Veeva Systems 2017–2019. All rights reserved.