SOLVED: 'System.Security.Principal.IIdentity' does not contain a definition for 'GetUserId'
Posted by: Run Tings Proper,
on 18 Nov 2014 |
View original | Bookmarked: 0 time(s)
While following a tutorial I got the error that GetUserId() didn't exist. Right clicking to refactor the reference in didnt come up with any suggestions. Luckily it wasnt too tricky to solve Problem Error 1 'System.Security.Principal.IIdentity' does not contain a definition for 'GetUserId' and no extension method 'GetUserId' accepting a first argument of type 'System.Security.Principal.IIdentity' could be found (are you missing a using directive or an assembly reference?) Solution Its just an extension...