Registry Access

  • Thread starter Thread starter Jacek Jurkowski
  • Start date Start date
J

Jacek Jurkowski

RegistryAccessRule constructor needs me to specify
WindowsIdentity. Ther is an identity "Everyone" but
on other language machines the identity name is
different ("Wszyscy" in Polish f.e.) How to obrain
current name of Everyone identity?
 
RegistryAccessRule constructor needs me to specify
WindowsIdentity. Ther is an identity "Everyone" but
on other language machines the identity name is
different ("Wszyscy" in Polish f.e.) How to obrain
current name of Everyone identity?

A quick look and it appears that you should try the other overload taking an
"IdentityReference" arg instead. Then just pass the following for that arg:

SecurityIdentifier everyoneSid = new
SecurityIdentifier(WellKnownSidType.WorldSid, null);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top