c# - Getting current user's name in Identity 2.0 -


on _layout.cshtml page of site, want display current user's first , last name. stored in aspnetusers database table in name column.

anyone know how can data?

i looked in usermanager class, , see methods getemail , getphone, nothing name.

can elaborate more did name column came from?

preferred way of adding columns aspnetusers table enabling migrations in project, adding new property applicationuser class , adding new migrations , applying it.

by doing way have access new name property when fetch user usermanager.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -