Re: c#, indexing service and authorization
From: aafu (ms_aafu@hotmail.com)
Date: 12/27/02
- Next message: Mike Davies: "Re: Decrypting Symmetric Algorithm"
- Previous message: aafu: "Re: How do i get back the some data which is encrypted usin MD5 ?"
- In reply to: Yuen: "c#, indexing service and authorization"
- Next in thread: George Yuen: "Re: c#, indexing service and authorization"
- Reply: George Yuen: "Re: c#, indexing service and authorization"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "aafu" <ms_aafu@hotmail.com> Date: Thu, 26 Dec 2002 17:10:29 -0800
Call LogonUser() to create the specified access token.
Then,ImpersonateLoggedOnUser() to change the identity of current thread=)
"Yuen" <george.yuen@infopx.com> wrote in message
news:e2pZWxkqCHA.2496@TK2MSFTNGP10...
> Hi all,
>
> I would like to seek your help to solve the following problem. I'm
writing
> a program in c# and want to pretending another user (the username and
> password can be hardcoded into the program) to query indexing service.
>
> e.g. My program is running by user_A. However, I want the program use the
> privilege of user_B to make a query. Is there any way to do so?
>
> Thanks.
>
> Regards,
> George
>
>
- Next message: Mike Davies: "Re: Decrypting Symmetric Algorithm"
- Previous message: aafu: "Re: How do i get back the some data which is encrypted usin MD5 ?"
- In reply to: Yuen: "c#, indexing service and authorization"
- Next in thread: George Yuen: "Re: c#, indexing service and authorization"
- Reply: George Yuen: "Re: c#, indexing service and authorization"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|