Given that the photographer was in Ansbach, this is likely the 2nd Bavarian UR. Odd that the parade rabatt is over his fangschnur. Note on the back dates it to to 1909
He's wearing an officer's uniform and fangschnur and has an officer's sword and portepee, though the parade rabatt and sword belt are not being worn correctly. Maybe they were photographer's props