So you can user `userObj.role` to get the role, an...
# suitescript
j
So you can user
userObj.role
to get the role, and then have an if statement that checks the role against the internal id, I believe that administrator is internal id 3.