Re: Get Handle Owner,...
- From: Stefan Kuhr <kustt110@xxxxxx>
- Date: Wed, 04 Jun 2008 09:45:27 +0200
Kerem,
Kerem Gümrükcü wrote:
Hi Jeroen ,
the point is, that i operate from Mannaged .NET Code
and i have several Process Handles and Ids and Service
Handles. I need to know in which Context they Run. I
expressed myelf a little unclear. I need a reliable way to
get the user context in which they run. I used the method
of GetTheToken->DuplicateIt->Impersonate->GetThe
UserName->RevertToSelf->CloseTheToken. But is there
another way? I got the process and service handles. The
more Problem are the Service Handles here: How do i get
the User Context from just a service handle?
QueryServiceConfig and the lpServiceStartName member of the QUERY_SERVICE_CONFIG struct?
--
Stefan
.
- Follow-Ups:
- Re: Get Handle Owner,...
- From: Kerem Gümrükcü
- Re: Get Handle Owner,...
- References:
- Get Handle Owner,...
- From: Kerem Gümrükcü
- Re: Get Handle Owner,...
- From: Jeroen Mostert
- Re: Get Handle Owner,...
- From: Kerem Gümrükcü
- Get Handle Owner,...
- Prev by Date: Re: Get Handle Owner,...
- Next by Date: Re: Device Driver that uploads it's own code?
- Previous by thread: Re: Get Handle Owner,...
- Next by thread: Re: Get Handle Owner,...
- Index(es):