locked
Context.user.identity.name is null RRS feed

  • Question

  • User-595439866 posted

    How to get logged in user detail in signalr hub using identity.

    Context.user.identity.name is null

    Sunday, September 10, 2017 8:15 AM

All replies

  • User1771544211 posted

    Hi Altaf11221,

    Context.user.identity.name is null

    Based on my experience, the Context.user.identity.name can return the current logged user name in signalr hub.

    Which kind of authentication do you use? Please first check if the authentication works on your side.

    Best Regards,

    Jean

    Monday, September 11, 2017 5:43 AM
  • User-595439866 posted

    Thanks i Jean Sun

    i got the solution after implementing role base authorization

    Saturday, September 16, 2017 6:55 AM