RegistryAclExtensions.GetAccessControl Método
Definição
Sobrecargas
| GetAccessControl(RegistryKey) |
Retorna as informações de segurança de uma chave do Registro.Returns the security information of a registry key. |
| GetAccessControl(RegistryKey, AccessControlSections) |
Retorna as informações de segurança de uma chave do Registro.Returns the security information of a registry key. |
GetAccessControl(RegistryKey)
Retorna as informações de segurança de uma chave do Registro.Returns the security information of a registry key.
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
Parâmetros
- key
- RegistryKey
A chave do Registro existente da qual as informações de segurança serão obtidas.The existing registry key from which to obtain the security information.
Retornos
Os descritores de segurança de todas as seções de controle de acesso da chave do Registro.The security descriptors of all the access control sections of the registry key.
Aplica-se a
GetAccessControl(RegistryKey, AccessControlSections)
Retorna as informações de segurança de uma chave do Registro.Returns the security information of a registry key.
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
Parâmetros
- key
- RegistryKey
Uma chave do Registro existente da qual as informações de segurança serão obtidas.An existing registry key from which to obtain the security information.
- includeSections
- AccessControlSections
As seções de controle de acesso desejadas a serem recuperadas.The desired access control sections to retrieve.
Retornos
Os descritores de segurança das seções especificadas de controle de acesso da chave do Registro.The security descriptors of the specified access control sections of the registry key.