Tag: login
-
Cannot get the full name or e-mail address of user
If you are using Claim authentication, make sure to pass the login user name in the format of “@"i:0#.w|readylab\sheriffm"” for calling the method – “SPUtility.GetFullNameandEmailfromLogin” Otherwise you will end up with an error – Cannot get the full name or e-mail address of user. string displayName = ""; string emailAddress = ""; try { SPUtility.GetFullNameandEmailfromLogin(web,…