SOLVED: 'System.Security.Principal.IIdentity' does not contain a definition for 'GetUserId'

Posted on: Tuesday, 18 November 2014 12:05

While following a tutorial I got the error that GetUserId() didn't exist. Right clicking to refactor the reference in didn’t come up with any suggestions. Luckily it wasn’t too tricky to solve…