username

G

Guest

Hello,
currentUserName = User.Identity.Name returns null in my environment,, how can I get user name?
Thanks,
Jim.
 
S

Saber

Also can do it:
If User.Identity.IsAuthenticated Then
currentUserName = User.Identity.Name
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

q: user e-mail 4
problem with username in forms authentication 0
Can't copy lowercase version of list 3
Please, help me. 1
Registration Form 7
username 3
Get UserName 2
Change UserName 0

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,108
Latest member
AlbertEste
Top