add get instance member function to securitygroups