Twitter officials have complied with a court order to turn over account information to help New York police investigators identify who threatened to carry out an attack like the Colorado movie theater shooting at a Broadway theater where Mike Tyson is appearing in a one-man show, the police said Tuesday.

The compliance came three days after the social media company, based in California, denied an emergency request from the Police Department to provide the account holder’s registration information and computer network address. Investigators learned of the unsettling Twitter posts on Friday, the opening night of “Mike Tyson: Undisputed Truth” at the Longacre Theater in Midtown, said Paul J. Browne, a police spokesman.

Mr. Browne declined to say whether investigators had tracked down the person believed to have posted, “I’m serious, people are gonna die like Aurora,” an apparent reference to the deadly shooting last month during a midnight screening of “The Dark Knight Rises” at an Aurora, Colo., movie theater.

The posting was among a string of Twitter posts that alarmed police investigators: “I might just shoot up this theater in New York”; “I know they leave their exit doors unlocked”; “I got 600 people on my hit list and that’s gonna be a mass murder for real.”