Check if User if member of a Security Group

Hi
I was wondering if it’s possible to check if a user is a member of a Security Group.

Essentially I need to restrict the editing a single filed (in a quote) to members of a Security Group while maintaining the editing ability to edit the rest of the filed to a broader set of users.

Cheers!

There is a sample here:

https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/26379-hide-subpanel-depend-on-roles

Here is another sample:

http://urdhva-tech.blogspot.com/2013/02/extending-list-view-query.html

This is for Roles, not for Security Groups

You can take a look at file modules\SecurityGroups\SecurityGroup.php
function getUserSecurityGroups($user_id)

Given the user id, it will list of SecurityGroups he belongs to.