I upgraded our test environment from SharePoint 2010 to 2013. We were using classic authentication in 2010, migrated to claims (NTLM) in 2013. The databases have been upgraded and attached but the sites are still in "2010 mode".
We have a .NET server control with a string "UserName" property on the masterpage. Before the upgrade, we passed the string "DEFAULT" as the UserName to the control and the current user's username was somehow picked up and passed along. After the upgrade, the literal string "DEFAULT" is being passed through instead.
I'm assuming this has something to do with using claims authentication now... is there a different keyword I can use to get the current username?