RegistryAclExtensions.GetAccessControl Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| GetAccessControl(RegistryKey) |
Retourneert de beveiligingsgegevens van een registersleutel. |
| GetAccessControl(RegistryKey, AccessControlSections) |
Retourneert de beveiligingsgegevens van een registersleutel. |
GetAccessControl(RegistryKey)
Retourneert de beveiligingsgegevens van een registersleutel.
public:
[System::Runtime::CompilerServices::Extension]
static System::Security::AccessControl::RegistrySecurity ^ GetAccessControl(Microsoft::Win32::RegistryKey ^ key);
public static System.Security.AccessControl.RegistrySecurity GetAccessControl(this Microsoft.Win32.RegistryKey key);
static member GetAccessControl : Microsoft.Win32.RegistryKey -> System.Security.AccessControl.RegistrySecurity
<Extension()>
Public Function GetAccessControl (key As RegistryKey) As RegistrySecurity
Parameters
- key
- RegistryKey
De bestaande registersleutel waaruit de beveiligingsgegevens moeten worden opgehaald.
Retouren
De beveiligingsdescriptors van alle toegangsbeheersecties van de registersleutel.
Van toepassing op
GetAccessControl(RegistryKey, AccessControlSections)
Retourneert de beveiligingsgegevens van een registersleutel.
public:
[System::Runtime::CompilerServices::Extension]
static System::Security::AccessControl::RegistrySecurity ^ GetAccessControl(Microsoft::Win32::RegistryKey ^ key, System::Security::AccessControl::AccessControlSections includeSections);
public static System.Security.AccessControl.RegistrySecurity GetAccessControl(this Microsoft.Win32.RegistryKey key, System.Security.AccessControl.AccessControlSections includeSections);
static member GetAccessControl : Microsoft.Win32.RegistryKey * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.RegistrySecurity
<Extension()>
Public Function GetAccessControl (key As RegistryKey, includeSections As AccessControlSections) As RegistrySecurity
Parameters
- key
- RegistryKey
Een bestaande registersleutel waaruit de beveiligingsgegevens moeten worden opgehaald.
- includeSections
- AccessControlSections
De gewenste secties voor toegangsbeheer om op te halen.
Retouren
De beveiligingsdescriptors van de opgegeven secties voor toegangsbeheer van de registersleutel.