Get user id in Asp.Net

0

How can I get all the related information of the authenticated user in Asp.Net?

I have done it before in other projects but in this I am using the SmartAdmin template and I have tried it but I can not get it.

string user = User.Identity.GetUserId();

This is what I have done in other projects but with this template I can not recover the information.

    
asked by darlin gonzales 15.05.2018 в 22:40
source

0 answers