Can you become an officer in the army with a DWI?

Someone can still become an officer in the army if he has a DUI incidence in his records. The army does not deny people with such records and misdemeanors.