A North Carolina man posed as an Army officer headed to a classified briefing to land a helicopter at a software company’s headquarters in Cary, federal authorities alleged on Wednesday.

A federal grand jury indicted Christian Gerald Desgroux, 57, of Raleigh, on charges of claiming to be a US Army lieutenant general, according to Robert Higdon, US Attorney for the Eastern District of North Carolina.

Desgroux, according to federal authorities, “engaged in transporting a person for a classified briefing and under such guises having asserted authority to land a helicopter” at SAS’s campus. The software analytics company counts banks, healthcare companies and government entities among its clients.

Desgroux, who faces up to three years in prison and a $250,000 fine if convicted, appeared briefly for a detention hearing Wednesday in Raleigh. He did not have an attorney present and the court appearance was continued until Thursday, Don Connelly, a spokesman for the US attorney’s office told The Post.

The date of the alleged incident was not disclosed. Connelly said that information would be revealed at Thursday’s hearing.

A spokeswoman for the company told The Post that an “unauthorized individual” directed a chartered helicopter to land on the company’s campus in November.

“He was not a SAS employee and had no affiliation with the company,” spokeswoman Shannon Heath said in an emailed statement. “At the time of the incident, SAS Security contacted local authorities who handled the situation. This was an isolated incident.”

State criminal records cited by the News & Observer show that Desgroux was found guilty of only traffic offenses since 2001, but has multiple pending charges from last year, including assaulting a woman, misuse of the 911 system, violating a domestic violence protection order and misdemeanor stalking.