Re: ASP.NET windows auth to get user Fname and Lname

From: Tom Vande Stouwe MCSD.net (tomv_at_conpro.net)
Date: 07/24/03


Date: Thu, 24 Jul 2003 13:27:32 -0400


Mike,

That information does not exist in the AD. I usually create a SQL database
with the info I need, and use that as a lookup against the domain\userid. If
all users can get to the system, have a page redirect to an information page
if they do not exist in the dB the first time the connect. After that, let
SQL get the user info (and app security info, since you go to the SQL for
the info anyway). They a user can connect without a login box and still be
totally ID'd

Tom

-- 
==========================================
= Tom Vande Stouwe MCSD.net, MCAD.net, MCP
= 45Wallstreet.com (www.45wallstreet.com)
= (803)-345-5001
==========================================
= If you are not making any mistakes
.= ..you are not trying hard enough.
==========================================
"Mike Finley" <mike@hotmail.com> wrote in message
news:0afc01c351f4$affb54e0$a601280a@phx.gbl...
> I should also note that
> HttpContext.Current.User.Identity.Name displays
> domain\userID
>
>
> >-----Original Message-----
> >Does anyone know if it is possible to get the user's NT
> >user FName and LName when using Windows Authentication in
> >ASP.NET?  I can get the NT UserID no problem, but am at a
> >loss in trying to get the users actual name.
> >
> >Thanks,
> >
> >Mike
> >.
> >


Relevant Pages

  • Re: Reading sequential files in COBOL vs SQL
    ... Obviously in COBOL I'd having to allow for reading a high ... |> | Mike Sicilian ... |> sequential search will be almost twice as fast as SQL because on average you will quit after reading half the file and SQL will ...
    (comp.sys.ibm.as400.misc)
  • Re: Batches
    ... "Mike" wrote in message ... >> building a single string I could have answered that more appropriately. ... >> Andrew J. Kelly SQL MVP ... >>> This is just the standard method of the built in .NET SQL Server data ...
    (microsoft.public.sqlserver.programming)
  • Re: Error after Install Sharepoint Service with SP1
    ... I completely miss the SQL 2005 piece. ... Mike Walsh, Helsinki, Finland ... > After I installed sharepoint service with SP1 in a box with SQL 2005 April> CTP of Window 2003, I encountered following error when access SharePoint ... I checked IIS log and my NT domain> name/ID was shown as authenticated user. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: reclaiming LOB space
    ... Books Online says "Reclaims space from dropped variable-length columns ... But as I understood Mike, he did not drop the column, only setting the ... Links for SQL Server Books Online: ...
    (microsoft.public.sqlserver.server)
  • Re: Reading sequential files in COBOL vs SQL
    ... Obviously in COBOL I'd having to allow for reading a high ... | If the files are already in the database and have an index that would allow keyed retrieval of the records you seek then SQL would ... | Mike Sicilian ... If your program can quit the search as soon as you find the record you are looking for, then a COBOL sequential search will be almost twice as fast as SQL because on average you will quit after reading half the file and SQL will always read the whole file. ...
    (comp.sys.ibm.as400.misc)