The IRS has released Publication 3373 (rev. Jul. 2013), Disclosure of Information to Federal, State and Local Agencies, outlining the procedures for officers and employees of federal, state, and local agencies to obtain return information from the IRS.
http://www.irs.gov/pub/irs-pdf/p3373.pdf