/// <summary> Refresh the list of all user groups by pulling the data back from the database </summary> /// <returns> TRUE if successful, otherwise FALSE </returns> public static bool RefreshUserGroups() { try { lock (userGroupsLock) { if (userGroups != null) { userGroups.Clear(); } userGroups = Engine_Database.Get_All_User_Groups(null); } return(true); } catch { return(false); } }