razor - How to display current user's custom property in a View -
using asp.net identity can display current user's name follows. i've created custom property of users fullname
. can use property in controller such as: _usermanager.users.where(u => u.fullname == "bob doe")
etc. but, in view, i'm not able display property. example, intellisense
not recognize @user.identity.fullname
.
view
... @user.identity.name ....
Comments
Post a Comment