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.
session.message.address.user.id
fieldactivity.From.Id
fieldIt has the following format: sip:mymail@mydomain.com