How can we get the user id ( something like 1hRVUAus5JxCuZfhxPOjmKCtoZoO22ps0FBGKiM) of a skype contact using the skype username/handle
Asked
Active
Viewed 579 times
1
-
Possible duplicate of [Find Username of skype from Microsoft Bot Framework Channel](http://stackoverflow.com/questions/40503468/find-username-of-skype-from-microsoft-bot-framework-channel) – Ezequiel Jadib Mar 17 '17 at 12:33
1 Answers
1
yes, Jyothis Jose you can get userId and userName using following code in c#
if(activity.From.Name != null)
{
string userName= activity.From.Name;
string userID=activity.From.Id;
//Perform your action
}

Samadhan
- 389
- 1
- 5
- 18