Programmatic Account Impersonation

From: Scott Berry (d0ntaskme_at_hotmail.com)
Date: 03/02/04


Date: 2 Mar 2004 15:26:39 -0800

Does anyone know if it is possible to write an application so that if
a user enters their NT username and password the application's
security context can be changed to run under their account.

In the same way that you can set up COM+ or Task Scheduler to run
under a different account by entering in the username and password of
that account.

Any help would be appreciated.

Scott



Relevant Pages

  • RE: cannot log on to user account following password change
    ... cannot log on to user account following password change ... I changed the username on the account in ... | on the sbs box. ...
    (microsoft.public.windows.server.sbs)
  • Re: logon failure
    ... MSSQLServer service after you change the username of administrator account. ... username for the SQL Server startup service account or the SQL Server Agent ... Microsoft SQL Server service account on the SQL Server host computer. ...
    (microsoft.public.windows.server.sbs)
  • RE: cannot log on to user account following password change
    ... home box with an existing local profile in conjunction with the sbs account. ... a local profile on the xp home box called Fiona Bavester had a username ...
    (microsoft.public.windows.server.sbs)
  • DirectoryServices error: Authentication mechanism is unknown: Solution
    ... passing username and password credentials, ... if you are running under a system account ... rather than an account that belongs to the domain you're connecting to. ... packet sniffing I was doing trying to find what happens when you bind. ...
    (microsoft.public.dotnet.general)
  • Re: Is it decnet problem or Thruway problem ?
    ... >> enable me to simulate the other user id's less priv. ... > the USERNAME and the PASSWORD. ... > Identifiers, Default Directory, and Login procedures as the user having ... > Owner Username UIC Account Privs Pri Directory ...
    (comp.os.vms)