We wanted to find out if there was a link between a lack of 25(OH) vitamin D, HOMA-IR, and lipids and APOE genotyping in obese people with and without T2DM. This evidence concerns the gene APOE and type 2 diabetes mellitus.