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
Raju Sudheer 3Raju Sudheer 3 

any one solve this scenario

i have 3 usersand 3 permission sets.  for example i have  3 users like a, b, c and i have 3 permissions like p1, p2, p3.
with the help of batch apex and schedule apex i need to assign for A  p1, for B  p2, for C p3 ..... again these need to be change
like this for A p2, for B  p3, for C p1.how it will be change.can any one tel  example with sample code