Re: How to get UserName / NetBios machine name using FORMS authentication
From: Joao.Cardoso (joao.cardoso@gmx.no.spam.net)
Date: 11/05/02
- Next message: Trevor Lawrence: "Yet another permissions thing"
- Previous message: EJS: ".Net Client Certificates"
- In reply to: Ed leNoir: "Re: How to get UserName / NetBios machine name using FORMS authentication"
- Next in thread: Ed leNoir: "Re: How to get UserName / NetBios machine name using FORMS authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Joao.Cardoso <joao.cardoso@gmx.no.spam.net> Date: Tue, 05 Nov 2002 00:32:28 +0000
>If you want the machine name a user is running from I don't know any way to
>do that myself.
>
>For the user you should get the user out of the http context. Any aspnet
>page can do this thru the User property it inherits from Page. For example,
>in a vb page code me.User.Name to get the current user name and NOT the
>aspnet or other impersonated name.
Thanks for your help but I think you didnt understand my question
correctly.
When you have Forms authentication all the properties of .NET returns
the user logged on on the asp.net. Not the user login name on the
workstation. I have 2 diferent users... the user thats logs-on to the
network on a workstation and the user on my forms autentication mode.
I needed to get the network user even if i'm using forms
autentication.
Joao.Cardoso
=============================================
[LusoCoders]- Portuguese Coders
lusocoders-subscribe@yahoogroups.com
=============================================
- Next message: Trevor Lawrence: "Yet another permissions thing"
- Previous message: EJS: ".Net Client Certificates"
- In reply to: Ed leNoir: "Re: How to get UserName / NetBios machine name using FORMS authentication"
- Next in thread: Ed leNoir: "Re: How to get UserName / NetBios machine name using FORMS authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]