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
Surender reddy SalukutiSurender reddy Salukuti 

How can assign permission set to roles using batch apex ?

Hi all,

i have one requirement  how can i assign permission set to two
different roles by using batch apex can any one help me on this 

Thank you 

Surender reddy.

VinayVinay (Salesforce Developers) 
Hi Surender,

Check below example.

http://www.interactiveties.com/blog/2014/daily-processing-for-permission-set-access.php

Thanks,