Solved

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

Posted on 2010-09-03
1
825 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
DeanGuilberry earned 500 total points
ID: 33600037
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
c# DateTime Format validation 4 67
Making exceptions for ValidationAttribute 2 23
Converting PHP triple des decrypt to c# 9 62
vb.net deleting excel sheet in workbook 11 30
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

740 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