How to get current user detail

Hi All,
Question is it possible to get the current user detail in userevent (suitescript 2.x)?
I tried this API



but I received an error “getRole() and getUser() is not function”

thank you for your response

Rookie Asked on December 29, 2021 in SuiteScript.
Add Comment
1 Answer(s)
Advanced Answered on December 29, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor