Asp.net, vb, Login control - Get user's First and Last name

How do I get a user's First and Last names after the user has been authenticated using the Login control?

I'm trying to display a "Logged on as FName LName" on my asp.net pages.
LVL 13
RickAsked:
Who is Participating?
 
DeanGuilberryConnect With a Mentor Commented:
The loginName classis used to return the users login info. I have used this before to get usernames from login control.

see microsoft page on MSDN for more info
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.loginname.aspx

I would post more but there is not much to it. when you see the MSDN page above it shows all code.
Mark
0
All Courses

From novice to tech pro — start learning today.