Re: Impersonate code sample?
From: Brian Pieslak (brian_at_nospam.metier.com)
Date: 08/04/03
- Next message: Michal A. Valasek: "Re: Getting all http headers"
- Previous message: Mike S: "Re: Running ASP.NET application from network share"
- Maybe in reply to: Brian Pieslak: "Re: Impersonate code sample?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 4 Aug 2003 16:03:25 -0400
I downloaded the Sample source code and modified it to match my
username, password, and domain in my office.
I tried the permutations of LogonType and LogonProvider for w2k, and
unfortunately, I could not get the example to work
Has anyone been able to successfully implement Impersonation on Windows
2000 Server?
If so, could you share a sample of source code?
Thanks,
Brian
"Naveen K Kohli" <naveenkohli@hotmail.com> wrote in message
news:e%23wfxIaTDHA.2092@TK2MSFTNGP10.phx.gbl...
> Here is some code that you may be able to use.
>
> http://www.netomatix.com/ImpersonateUser.aspx
>
> Naveen
>
> "Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netRemuvThis> wrote
in
> message news:u2ThbiVTDHA.1324@TK2MSFTNGP11.phx.gbl...
> > One of the guys at work is creating an ASP.NET app against a legacy COM
> > component that uses SQL Server Integrated security. Somewhere recently,
I
> > saw a code sample that showed how to impersonate an account for data
> access
> > by changing the identity of the thread the ASP.NET application was
running
> > under. To save him some time, does anyone have a link to a sample like
> this.
> >
> > --
> > Gregory A. Beamer
> > MVP; MCP: +I, SE, SD, DBA
> > Author: ADO.NET and XML: ASP.NET on the Edge
> >
> >
>
****************************************************************************
> > ****
> > Think Outside the Box!
> >
>
****************************************************************************
> > ****
> >
> >
>
>
- Next message: Michal A. Valasek: "Re: Getting all http headers"
- Previous message: Mike S: "Re: Running ASP.NET application from network share"
- Maybe in reply to: Brian Pieslak: "Re: Impersonate code sample?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|