Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-09-03
1
Medium Priority
?
830 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 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

824 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