简体   繁体   中英

How to get user email from botbuilder with Skype for Business?

I'm using botbuilder package in a nodejs application and I need to get the user information from the Skype for Business channel, so that I can authorize against my custom authentication system - the username would work too. Using session storage or anything like this doesn't work for my use case, so I need the actual user information. How can I get this information?

In Skype for Business channel, you will found the user email in the id field of the user.

  • In Node.js: session.message.address.user.id field
  • In C#: activity.From.Id field

It has the following format: sip:mymail@mydomain.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM