RE: Obtain User Login Name?

From: Felix Wu [MS] (felixwu@online.microsoft.com)
Date: 09/20/02


From: felixwu@online.microsoft.com (Felix Wu [MS])
Date: Fri, 20 Sep 2002 11:13:29 GMT


Hi Crjunk,

In general, we can use Context.User property to retrieve this user's
information. However, this property has close relations with the
Authentication mode of your web application. You can take a look at the
following two articles. They provides a very good discussion about security
in web applications:

ASP.NET Security: An Introductory Guide to Building and Deploying More
Secure Sites with ASP.NET and IIS
http://msdn.microsoft.com/msdnmag/issues/02/04/ASPSec/ASPSec.asp

ASP.NET Security: An Introductory Guide to Building and Deploying More
Secure Sites with ASP.NET and IIS, Part 2
http://msdn.microsoft.com/msdnmag/issues/02/05/ASPSec2/ASPSec2.asp

Hope this helps.

Regards,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: crjunk@earthlink.net (crjunk)
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>Subject: Obtain User Login Name?
>Date: 17 Sep 2002 14:11:29 -0700
>Organization: http://groups.google.com/
>Lines: 13
>Message-ID: <e45e90aa.0209171311.6f1e5787@posting.google.com>
>NNTP-Posting-Host: 205.144.229.124
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1032297089 23708 127.0.0.1 (17 Sep 2002
21:11:29 GMT)
>X-Complaints-To: groups-abuse@google.com
>NNTP-Posting-Date: 17 Sep 2002 21:11:29 GMT
>Path:
cpmsftngxa08!cpmsftngxa07!tkmsftngp01!newsfeed00.sul.t-online.de!t-online.de
!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-xit-
04!sn-xit-08!supernews.com!postnews1.google.com!not-for-mail
>Xref: cpmsftngxa08 microsoft.public.dotnet.framework.aspnet.security:2284
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>I'm a newbie when it comes to Visual Studio .Net, so please forgive me
>if I'm asking something stupid or in the wrong newsgroup.
>
>I am creating an intranet site that will allow users to enter in
>records. I'm using ASP.NET and VB.NET for my code behind. I would
>like to somehow obtain the user's Windows login name and/or the user's
>Novell login name.
>
>Can anyone tell me a simple way that I can obtain either one of these
>user names? I've tried searching news groups to find an answer, but I
>haven't had any luck with the examples that I have come across.
>
>Any help is greatly appreciated!
>



Relevant Pages

  • IIS / OWA
    ... We have 100 e-mail users ... and 95% of them can login to OWA/IIS anytime, ... I have IIS setup with Integrated ... history), set security to low, ask it to prompt for username and password - ...
    (microsoft.public.inetserver.iis.security)
  • IIS 5 and Coldfusion MX - security issue with cfm pages
    ... I am running Coldfusion MX with IIS 5 / Windows 2000. ... To take things a step further, I also have specified in IIS ... security is ignored and the page gets served up. ... security login, then after a correct login the page displays an HTTP ...
    (microsoft.public.inetserver.iis.security)
  • Re: localhost login
    ... You need to become familiar with IIS if that is the ... accounts also need the correct user rights and group ... Security) ... > like to just do away with the login because this is just ...
    (microsoft.public.windowsxp.security_admin)
  • Re: HELP PLEASE The request failed with HTTP status 401: Access Denied.
    ... I have turned on all security auditing and this is what I have found. ... Logon Failure: ... Logon Process: IIS ... check if u have an real login ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: How to allow users to change their password?
    ... be set up to provide the Security dialog window for password changes. ... I'll have to login using their login ... > name/password first. ... See http://www.QBuilt.com for all your database needs. ...
    (microsoft.public.access.security)