ACL Check for Group

hakansuri
Kilo Expert

I have got support group field on the change form. want to give write access to users whos group matches with the support group.

i am trying to edit the write acl for the form by adding the following script which is not working

var ourUser = gs.getUser();  

ourUser.isMemberOf(current.support_group.sys_id);

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Hakan,



The script will be


answer = gs.getUser().isMemberOf(current.support_group);


View solution in original post

1 REPLY 1

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Hakan,



The script will be


answer = gs.getUser().isMemberOf(current.support_group);