API
Version 7.x > API > How to Get EmailId From LinkedIn View modes: 
User avatar
Member
Member
Girijeshk-clavax - 1/21/2014 6:16:12 AM
   
How to Get EmailId From LinkedIn
Hi,
I am using LinkedId logon web part. this return Firstname,Lastname,MemberId and DOB but i also need email id that is not return how to get
please help me.

UserInfoProvider.GetUserInfoByLinkedInID(linkedInHelper.MemberId)

Thanks,
Girijesh

User avatar
Member
Member
kentico_edwardh - 1/21/2014 12:14:32 PM
   
RE:How to Get EmailId From LinkedIn
Hello,

If you are trying to obtain the user’s email address that is stored in the Kentico database, you would need to pass the user’s first name to the GetUserInfo method in order to return the user’s email address. You can use following sample code to get UserInfo object: UserInfo user = CMS.SiteProvider.UserInfoProvider.GetUserInfo("UserName");

Unfortunately, there is no available API method If you are trying to return the user’s email address directly from LinkedIn.

Best Regards,
Edward Hillard