Question

Is there a way to get the built-in "Everyone" registry security object in a locale-independent manner? I want to make a RegistryAccessRule without needing to translate "Everyone" to each language.

Was it helpful?

Solution

Create a SecurityIdentifier with the constructor that takes WellknownSidType.WorldSid. The Domain SID doesn't matter.

OTHER TIPS

Use the constructor for SecurityIdentifier that takes a WellKnownSidType and use WellKnownSidType.WorldSid.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top