Re: How to check whether ex is running under local system account?
- From: Stefan Kuhr <kustt110@xxxxxx>
- Date: Thu, 17 Nov 2005 18:10:16 +0100
Hello AJAy,
ajay.sonawane@xxxxxxxxx wrote:
Hello All How can I check that whether my exe is running under local system account ? I need to check it programmatically. Can anyone shed some light on it?
-AJay
Do a GetUserName from your code while it does not impersonate someone (so maybe you do that right at the beginning of your program) and if it returns "SYSTEM", it is running under LocalSystem.
-- Stefan Kuhr
"Lesen schadet der Dummheit" .
- Follow-Ups:
- Re: How to check whether ex is running under local system account?
- From: Alex Fedotov
- Re: How to check whether ex is running under local system account?
- References:
- How to check whether ex is running under local system account?
- From: ajay . sonawane
- How to check whether ex is running under local system account?
- Prev by Date: Re: How to check if the program is running on a terminal server?
- Next by Date: Re: Understandng Spy++ Technique
- Previous by thread: Re: How to check whether ex is running under local system account?
- Next by thread: Re: How to check whether ex is running under local system account?
- Index(es):
Relevant Pages
|