RegistryKey.GetAccessControl Method (AccessControlSections)
Returns the specified sections of the access control security for the current registry key.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Security.AccessControl.AccessControlSections
A bitwise combination of enumeration values that specifies the type of security information to get.
To request the access permissions currently granted to users, specify the bitwise combination of the following flags: AccessControlSections.Access, AccessControlSections.Owner, and AccessControlSections.Group. Alternatively, you can use the GetAccessControl() method overload, which specifies exactly that combination of values.
The user must have RegistryRights.ReadPermissions rights to call this method.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.