Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法以独立于语言环境的方式获取内置的“Everyone”注册表安全对象?我想制作一个 RegistryAccessRule 而无需将“每个人”翻译成每种语言。
使用采用 WellKnownSidType 的 SecurityIdentifier 的构造函数并使用 WellKnownSidType.WorldSid。
使用采用 WellknownSidType.WorldSid 的构造函数创建一个 SecurityIdentifier。域 SID 无关紧要。