Skip navigation links

Package com.veeva.vault.sdk.api.group

This package provides interfaces to retrieve group membership information.

See: Description

Package com.veeva.vault.sdk.api.group Description

This package provides interfaces to retrieve group membership information.

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);
     
 
Skip navigation links

Copyright © Veeva Systems 2017–2019. All rights reserved.