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


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.
>



Relevant Pages

  • Re: IIS authentication Problems
    ... I have changed this option to "Automatic Logon with current username and ... Best Regards, ... > Authentication you will see checked "Automatic logon only in Intranet ... >> on the same subnet with Domain and Web Server, and If I go the this Web ...
    (microsoft.public.inetserver.iis.security)
  • Re: Datagrid navigation problem
    ... > You have to re-bind the datagrid to the datasource after you have changed the ... >> it is showing 10 rows at the first page when i navigate to next page it is ... >> Private Sub grdSkills_PageIndexChanged(ByVal source As System.Object, ... >> Regards & thanks, ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • i-Mate vs XDA II Pocket PC
    ... Thinking of updating my pocket PC that is showing its age in ... regards to being dropped a few times and buttons not working and battery ...
    (microsoft.public.pocketpc)
  • i-Mate vs XDA II Pocket PC
    ... Thinking of updating my pocket PC (iPaq 3660) that is showing its age in ... regards to being dropped a few times and buttons not working and battery ...
    (microsoft.public.pocketpc)
  • Retrieving User credentials and Domain name through WMI in ASP.NE
    ... I'm working on ASP.NET web application in C# in Visual Studio. ... 'RemoteEnabled' then it started showing me the username. ... deploying it on testing machine it is not showing me anything. ...
    (microsoft.public.cert.exam.mcsd)