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
NLTNLT 

how to add the portal role members to the public group using batch apex

how to add the portal role members to the public group using batch apex, please provide your inputs.
VinayVinay (Salesforce Developers) 
Check below similar reference that can help you.

https://salesforce.stackexchange.com/questions/53446/is-it-possible-to-add-a-group-to-another-group-as-sub-nested-group-through-ape

Please mark as Best Answer if above information was helpful.

Thanks,
NLTNLT
Hi Vinay,

Here I need to add the members to public group automatically using batch apex logic.