• Bhanu Gupta
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
   if(suporg.Group_Email__C!=null){
            String[] emailAddress = suporg.Group_Email__C.split(';');
         
     mail.setToAddresses(emailAddress );
      System.debug(emailAddress );
I have a requirement to send weekly reports in email to indivudual memebrs as per their visibility.

I've an idea to write an apex class which I can schedule it using Scheduled Apex.
Inside the class I want to use ReportManager class to run a specific report.

My question here is - How can I run it as a specific user ?