Ask a Question related to ASP.NET Security, Design and Development.
-
lajuan #1
Obtaining Windows Username
Hey all,
Once again, I find myself requiring your expertise, so I'll say Thank
in advance. I was going to try using Kerberos (thanks for the inf
Ken), but unfortunately after speaking with our network admin, it isn'
an option. So I'm going to use Windows Authentication in the web.confi
file for all forms in the web site. This will force the user to log on
but I need a way to retrieve the user login info. Is there any way t
do that thru the user session or any other way?
Thanks,
Joh
-
lajua
-----------------------------------------------------------------------
Posted via [url]http://www.codecomments.co[/url]
-----------------------------------------------------------------------
lajuan Guest
-
windows username
Hi! I'm a real beginner. Sorry if I ask some stuõid questions :-) My problem is: I have more users on my computer. The system is windows 2000/... -
Getting windows username
I am developing an intranet and was wondering, when a user logs on is there a way to get the username of the windows account in asp.net. I have... -
Antwort: windows username
Hi, try to read what "perldoc -f stat" tells you! As being myself a beginner, I haven't tried it yet, just read about it. HTH! Best regards... -
retrieve windows username in php
Hi, I am new to php. Is it possible to find out the windows user name in php ? Logon in windows domain with 'user1'. I want to get the username... -
Obtaining network username when impersonate is set to false
I found the answer: System.Web.HttpContext.Current.User.Identity.Name.ToString(); jeremy_deats@hotmail.com (Ramzey) wrote in message... -
Yunus Emre ALPÖZEN [MCAD.NET] #2
Re: Obtaining Windows Username
Use System.Threading.Thread.CurrentPrincipal.Identity. Name
This works only if user is authentcated...
To force user authenticate just set following values in web.config
<authentication mode="Windows" />
and
<authorization>
<deny users="?" />
<allow users="*" />
</authorization>
--
Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET
"lajuan" <lajuan.1p1huw@mail.codecomments.com> wrote in message
news:lajuan.1p1huw@mail.codecomments.com...>
> Hey all,
> Once again, I find myself requiring your expertise, so I'll say Thanks
> in advance. I was going to try using Kerberos (thanks for the info
> Ken), but unfortunately after speaking with our network admin, it isn't
> an option. So I'm going to use Windows Authentication in the web.config
> file for all forms in the web site. This will force the user to log on,
> but I need a way to retrieve the user login info. Is there any way to
> do that thru the user session or any other way?
> Thanks,
> John
>
>
>
> --
> lajuan
> ------------------------------------------------------------------------
> Posted via [url]http://www.codecomments.com[/url]
> ------------------------------------------------------------------------
>
Yunus Emre ALPÖZEN [MCAD.NET] Guest



Reply With Quote

