Hi All, I have to identify the logged in user as partner or employee in running script
l
Lea CC
07/25/2018, 12:38 PM
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.