T
tsmojver
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.
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.