public interface GetUserInDocumentRolesResponse
DocumentRoleService.getUserInDocumentRoles(String, List)
.Modifier and Type | Method and Description |
---|---|
boolean |
isUserInDocumentRole(DocumentRole documentRole)
Checks if a particular user is assigned to the given document role.
|
boolean isUserInDocumentRole(DocumentRole documentRole)
The user checked here is the same user provided in the call to
DocumentRoleService.getUserInDocumentRoles(String, List)
.
Unlike GetDocumentRolesResponse
, this method checks against all sources of roles including automated
assignments such as Dynamic Access Control. In addition, this method will check if the user has indirect
access to the role, such as through a group.
documentRole
- the document role to check against. Cannot be null.DocumentRoleService.getUserInDocumentRoles(String, List)
.Copyright © Veeva Systems 2017–2021. All rights reserved.