Coderwall
Ruby
Python
JavaScript
Front-End
Tools
iOS
More
Tips
Ruby
Python
JavaScript
Front-End
Tools
iOS
PHP
Android
.NET
Java
Jobs
Jobs
Sign In or Up
Joined January 2014
·
faisalbwn
Faisal Nadeem
Riyadh, Saudi Arabia
·
·
0 Protips
1 Comments
Posted to
How to get Current User ID in asp.net MVC 4
over 1 year ago
Include:
using Microsoft.AspNet.Identity;
Then use extension methods:
User.Identity.GetUserId()
Achievements
1 Karma
0 Total ProTip Views
Include:
using Microsoft.AspNet.Identity;
Then use extension methods:
User.Identity.GetUserId()