botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Question] Get User ID of the Skype Channel

Open anirudhaditya opened this issue 9 years ago • 4 comments

I am using skype channel and need to know how to get the logged in user name and pass it to the bot. During debugging I figured out that I can only pull the display name and not the userID or the email ID. Can anyone assist on this.

Thanks Aniruddha

anirudhaditya avatar Aug 24 '17 04:08 anirudhaditya

@anirudhaditya I don't think skype share such info as it affects user privacy. v3 version of the API provides the unique user ID per bot. you can access those by using

session.message.user.id
session.message.address.user.name

More about message.address JSON Please check this post

mukeshps25 avatar Aug 24 '17 06:08 mukeshps25

This is not currently a feature of bot framework. You may however, be able to access this information via the skype API or the graph api depending on your use case

JasonSowers avatar Aug 24 '17 15:08 JasonSowers

Can we get the Skype user profile info?. Other than user id and name. can we able to get the user designation, office, location etc..

Basavarajsk1992 avatar May 24 '18 10:05 Basavarajsk1992

How can we get user information (User id) with Skype API?

chintan3100 avatar Aug 30 '18 08:08 chintan3100