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);
 
Back
Top