G
Guest
Hello, friends,
In windows service, after specifying username/password in installer like the
follows:
this.serviceProcessInstaller1.Password = "12345";
this.serviceProcessInstaller1.Username = "prodDomain\\appUser";
and installing this window service, I believe this windows service will be
run under the specified user account each time it is started.
Then the question is: If I want to retrieve username/password info in this
windows service itself, how can I do it?
Thanks a lot.
In windows service, after specifying username/password in installer like the
follows:
this.serviceProcessInstaller1.Password = "12345";
this.serviceProcessInstaller1.Username = "prodDomain\\appUser";
and installing this window service, I believe this windows service will be
run under the specified user account each time it is started.
Then the question is: If I want to retrieve username/password info in this
windows service itself, how can I do it?
Thanks a lot.