How to get the 'ID' of the currently logged user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brianpunzalan
    Active Community Member
    • Aug 2017
    • 62

    How to get the 'ID' of the currently logged user

    Hi Tanya,

    How would I get the ID of the currently logged user?

    Thanks!
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    Where? frontend/backend/formula

    Comment

    • brianpunzalan
      Active Community Member
      • Aug 2017
      • 62

      #3
      On backend, but frontend and formula tips would help also

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        $this->getUser()->id in general

        Comment


        • ganesanjc
          ganesanjc commented
          Editing a comment
          $this->getUser()->id unable to get this in custom jobs file user id return as 'System'
      Working...