<@U29PVMVAR> perfect sir. Yes I’m grabbing the use...
# suitescript
j
@erictgrubaugh perfect sir. Yes I’m grabbing the user info and custom role we have set up in a User Event. I just wasnt sure If that would only work in the UI or if it would work with the web service request as well.
u
runtime.getCurrentUser() has some information on the user
j
yes I’m getting the user info and doing what I need with that. I just wasnt sure if this User Event was going to trigger on the web service request
u
yup. It would trigger in SOAP and could be checked on the executionContext like @erictgrubaugh mentioned
j
awesome! Thanks so much. One more question for you. Will a User Event beforeLoad trigger in the SOAP?
u
FOr most of the cases, no. I think it would run for an initialize action though
j
10-4. Thanks Chris!