Solved

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

Posted on 2010-09-03
1
821 Views
Last Modified: 2012-05-10
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.
0
Comment
Question by:Rick
1 Comment
 
LVL 1

Accepted Solution

by:
DeanGuilberry earned 500 total points
Comment Utility
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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now