Re: Retreiving the logon account username for a particular windows service
- From: "Aneesh Pulukkul[MCSD.Net]" <aneesh.p@xxxxxxxxx>
- Date: Fri, 08 Jun 2007 15:44:19 -0000
On Jun 8, 8:33 pm, tsmoj...@xxxxxxxxx wrote:
Does anyone know how to retreive the logon account username for a
particular windows service? Or the current user that is running this
service as a process. C# is the prefered language of choice.
Apparently, the managed classes don't seem to offer this easily (and
for good reason). However, I would think there is a way to do this
with an unmanaged call, but not sure where to start.
Any help is greatly appreciated, Thanks.
Inside the windows service code or you want it externally through some
code?
.
- Follow-Ups:
- Re: Retreiving the logon account username for a particular windows service
- From: Aneesh Pulukkul[MCSD.Net]
- Re: Retreiving the logon account username for a particular windows service
- References:
- Prev by Date: Re: server scenario - variables in the right spot?
- Next by Date: Re: interfaces
- Previous by thread: Retreiving the logon account username for a particular windows service
- Next by thread: Re: Retreiving the logon account username for a particular windows service
- Index(es):
Relevant Pages
|