Getting Data From ASP.NET MVC Membership Provider With AngularJS -


so using built in asp.net mvc membership provider authorization of users in web application. added several fields such first name, last name , customer number default fields comes (email, password). able register , log in users want of information of added fields user , use in angularjs controller.

i have been working learning angularjs , have been successful using webapi , post data server stumped on how can information of current user signed in application. assuming stored in session token of sort not know how access , work information angular standpoint.

any appreciated, can provide whatever code necessary @ point have basic built in code asp.net uses register , login users , empty angular controller. thanks.

to current user anywhere on server side, use

httpcontext.current.user.identity.name; 

Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -