get current login user role in client script

Ha Le
Tera Expert

how get user role in client script, thanks 

6 REPLIES 6

Hi,

you can have field level WRITE ACL on comments field for that table

In the roles section give admin

Once user is admin then only user can post the comments

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Gaurav Shirsat
Mega Sage

Hello

Kindly refer my Article on this.

Mark my Response as Correct or Helpful, if you find it Appropriate.
Gaurav Shirsat : ServiceNow Community MVP 2022
https://www.linkedin.com/in/gauravshirsat/