Forum Discussion

ChristopherWhea's avatar
ChristopherWhea
Qrew Cadet
12 months ago

Current User in Custom Page

Hello,

Does anyone know how to access the current user (userID or email) via JavaScript in a Custom Page without passing that parameter in the URL?  Like gReqUID or gReqUserEmail in native QB pages.

Thanks,

Chris



------------------------------
Chris Wheatley
------------------------------

1 Reply

  • Yes I have done this using the xml API API_GetUserInfo. You just pass the apptoken instead of a usertoken as the ticket, and it will return the current user.



    ------------------------------
    Nathan Allan
    ------------------------------