Hi All, I have to identify the logged in user as ...
# suitescript
a
Hi All, I have to identify the logged in user as partner or employee in running script
l
There's no straightforward answer to this, but you can try using N/runtime then calling the getCurrentUser() method. You can then check if the role used belongs to an employee or a vendor.