Validate the login user is member of user criteria group

msc
Tera Contributor

Hi All,

I need to validate the login user is member of the user criteria groups.

Here one custom table is there , we have 2fields one is referenced to user criteria table.

So here I need to validate login user is part of that group or not.

If yes then I need to make one field as editable for this user.

 

1 REPLY 1

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @msc 

You can use the below script.

gs.getUser().isMemberOf( "group")

Please mark the answer as correct solution and helpful if helped.

 

Kind Regards,

Ravichandra