RegistryAccessRule.RegistryRights Property

Definition

Gets the rights allowed or denied by the access rule.

public:
 property System::Security::AccessControl::RegistryRights RegistryRights { System::Security::AccessControl::RegistryRights get(); };
public System.Security.AccessControl.RegistryRights RegistryRights { get; }
member this.RegistryRights : System.Security.AccessControl.RegistryRights
Public ReadOnly Property RegistryRights As RegistryRights

Property Value

A bitwise combination of RegistryRights values indicating the rights allowed or denied by the access rule.

Remarks

RegistryAccessRule objects are immutable. You can create a new access rule representing a different user, different rights, or a different AccessControlType, but you cannot modify an existing access rule.

Applies to