how to get Username by id in identity?

后端 未结 0 1114
灰色年华
灰色年华 2021-01-25 17:22

I\'m trying to get the user name by id and pass it to view by viewbag. I can access the user by id but I can\'t access the user name. I\'m using identity 3 in asp.net core. This

相关标签:
回答
  • 消灭零回复
提交回复
热议问题