function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dev401hasdev401has 

Apex Managed Sharing - List of indirect users/group members

Hi

 

I am trying to check user's id (who has log in) whether it is in my public group or not for Apex managed Sharing. I am able to get the list of all users who are in public group using Group Member Table.

But that does not include the members who have indirect access using role hierarchies (ex: system admins and managers).

 

Can anyone help me out in preparing a list of users/group members who can access the public group in direct or indirect way.

 

jon-wujon-wu

I've been trying to figure this out too? Any luck?

 

Is the only way to recursively iterate through the groups?