public bool DeleteGroup(OCL.Group TargetGroup, OCL.User AccessingUser, out string ErrorString) { ErrorString = ""; try { if(TargetGroup.CanDelete(AccessingUser)) { Functions F = new Functions(); F.DeleteGroup(TargetGroup,AccessingUser); return true; } else { ErrorString = "User does not have access to delete group."; return false; } } catch(Exception Err) { ErrorString = Err.Message; return false; } }