• pinnamaneni
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi Folks,

In Lightning community we have order creation  module, In this module after clicking on "Create New order" button user has to enter the details in 3 screens for submitting the order.
We have a requirement to calculate the average time taken for creation (time taken between clicking  "Create" button and "submit" button) of an order and show it in google Analytics.

Thanks
 
Hi,

I have 2 users A and B. User A has Admin profile and so has the option to login as other users.

Now lets say, User A logged into the system and logged in as User B. 
Now, when I try to get the loggen in user Id using Userinfo.getUserId() or any other apex method, I get the User B record id. 

Is there a way, I can get the actual logged user i.e., User A record Id