Package com.veeva.vault.sdk.api.role
Interface GetGroupInDocumentRolesResponse
public interface GetGroupInDocumentRolesResponse
Provides methods to check if a particular group is assigned to a given document role, returned from
DocumentRoleService.getGroupInDocumentRoles(Group, List)
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
isGroupInDocumentRole
(DocumentRole documentRole) Checks if a particular group is assigned to the given document role.
-
Method Details
-
isGroupInDocumentRole
Checks if a particular group is assigned to the given document role.The group used for checking is the same group provided when calling
DocumentRoleService.getGroupInDocumentRoles(Group, List)
.Unlike
DocumentRole
, this method will check against all sources of roles including automated assignments such as Dynamic Access Control.- Parameters:
documentRole
- the document role to check against. Cannot be null.- Returns:
- true if the group is assigned to the given document role, otherwise false. Also returns false if the given documentRole was not included in the original call to getGroupInDocumentRoles.
-