Hi,
userMgr.findAuthorizables method has a built-in XPATH query. Is it possible to modify the root node for search in it?
Query looks something like -
/jcr:root/home//element(*)[@jcr:primaryType='rep:User']
If I want to search under /home/users/a, can I make this change?
Views
Replies
Total Likes
Hello @goyalkritika
If you use case if to get specific users, you should probably make them members to a group. When you need this list, you can just get all members of this group.
I am doubtful you would be able to edit the query root
@goyalkritika Did you find the suggestions from Aanchal helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
This is not possible. What do you want to achieve with this API call, for which you would need to tweak this query?
Views
Likes
Replies