user account

From: Naveen K Kohli (naveenkohli@att.net)
Date: 02/18/03


From: "Naveen K Kohli" <naveenkohli@att.net>
Date: Tue, 18 Feb 2003 14:52:53 -0800


ASP.Net will run under ASPNET user account unless
impersonation has been turned on.
The way to solve your issue will be... ask your client to
spawn a new thread. In the new thread impersonate an Admin
account by calling LogonUser API through PInvoke. Now they
can make a call into your COM object.

>-----Original Message-----
>A customer wants to use our COM object with ASP.net. The
COM object must run
>under an adminitrator user account to work properly. I
guess the ASP code
>runs under another user account by default. How to change
the user account
>the ASP code runs under? Or any other solutions?
>
>
>.
>



Relevant Pages

  • Re: IIS 6 ASP: Which Process Identity Is It Using? App Pool or Anon?
    ... better understand and find the impersonation feature from the log: ... A more detailed explanation of what each item below means and the ... User" fields are used to describe the acting user account. ... The process impersonated as IUSR account to write the EXDPTDB.DAT ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 6 ASP: Which Process Identity Is It Using? App Pool or Anon?
    ... better understand and find the impersonation feature from the log: ... A more detailed explanation of what each item below means and the ... User" fields are used to describe the acting user account. ... The process impersonated as IUSR account to write the EXDPTDB.DAT ...
    (microsoft.public.inetserver.iis)
  • Impersonation and switching back to ASPNET user priviledges
    ... process on the server side. ... using the impersonation mechanism using a predefined fixed user ... "revert" to ASPNET or NETWORK SERVICES user account priviledges. ... public static bool impersonateValidUser(String userName, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: File upload problem with alternate drive
    ... Using impersonation, have it run under your user account as a test (since ... This will test the security aspect of this. ... > get an access denied message indicating I need to grant rights to the ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: identity impersonate in Sharepoint 2003
    ... is to create a utilities class that includes impersonation. ... Machine and user account runing Sharepoint have been Delegated ... > for a stanard aspx page accessing SQL Server Reporting Services Web Service, ...
    (microsoft.public.sharepoint.portalserver.development)