RE: Retrieving User credentials and Domain name through WMI in ASP.NE
From: Vipul Patel (MVP) (VipulPatelMVP_at_discussions.microsoft.com)
Date: 09/07/04
- Next message: Becky: "ASP.NET Controls Question"
- Previous message: Niranjan: "ASP.NET Controls Question"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Sep 2004 12:51:03 -0700
HI Vijay,
Web Application run under the context of user ASPNET. Maybe thats what is
cauing the problems. You can use the impersonate tab in your web.config.
Regards
Vipul
"viju82" wrote:
> Hi,
> I'm working on ASP.NET web application in C# in Visual Studio. i want to
> develop an utility like; when an user will browse that site on his machine;
> his username should appear there in the site..
> I tried for that using WMI. I'm getting the usercredentials in console
> application. But when i use the same logic in web application it gives me
> null value. So in computer management i gave the security for cimv2 as
> 'RemoteEnabled' then it started showing me the username. But when i'm
> deploying it on testing machine it is not showing me anything. So please help
> me in this matter.
>
- Next message: Becky: "ASP.NET Controls Question"
- Previous message: Niranjan: "ASP.NET Controls Question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|