M
Mike
Greetings,
I trust that I am writing to the correct newsgroup or that at least I
can find direction here.
We have an issue with a custom-developed service which we would like
to run as a specified set of user credentials. This is on account of a
DLL resource which utilizes HKEY_CURRENT_USER registry settings in
order to operate. We are operating under the assumption that if the
service runs as a specified user, then that process utilizes the
settings specified under HKEY_CURRENT_USER.
If that isn't feasible, then we need to start looking at HKEY_USERS,
which gets somewhat ugly. How do we glean the key(s) from user
Security Identities (SID)?
Regardless, it would seem that we're faced with utilizing 32-bit API
from within our C# .NET code.
Thanks in advance...
Michael
I trust that I am writing to the correct newsgroup or that at least I
can find direction here.
We have an issue with a custom-developed service which we would like
to run as a specified set of user credentials. This is on account of a
DLL resource which utilizes HKEY_CURRENT_USER registry settings in
order to operate. We are operating under the assumption that if the
service runs as a specified user, then that process utilizes the
settings specified under HKEY_CURRENT_USER.
If that isn't feasible, then we need to start looking at HKEY_USERS,
which gets somewhat ugly. How do we glean the key(s) from user
Security Identities (SID)?
Regardless, it would seem that we're faced with utilizing 32-bit API
from within our C# .NET code.
Thanks in advance...
Michael