When you execute something as X User in the UI or ...
# suitescript
a
When you execute something as X User in the UI or with a different integration or Role then that query/search is subject to that Role.