angular-signalr-hub
angular-signalr-hub copied to clipboard
Show Context.User.Identity.Name with ConnectionId?
How do I get the User name listed with the Context.ConnectionId? I've add the name string to the OnConnected() override but getting lost in Ng.
string name = Context.User.Identity.Name;
Hey @mattdunndc, do you have a link to some documentation that demonstrates how to do this with normal SignalR? I'll see if we need to modify this angular wrapper.
If you are using ASP.Net Identity with Signalr then you can get it by Context.User.Identity.Name