Uređivanje

Dijeli putem


CryptoKeySecurity.AddAccessRule(CryptoKeyAccessRule) Method

Definition

Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this CryptoKeySecurity object.

public:
 void AddAccessRule(System::Security::AccessControl::CryptoKeyAccessRule ^ rule);
public void AddAccessRule (System.Security.AccessControl.CryptoKeyAccessRule rule);
override this.AddAccessRule : System.Security.AccessControl.CryptoKeyAccessRule -> unit
Public Sub AddAccessRule (rule As CryptoKeyAccessRule)

Parameters

rule
CryptoKeyAccessRule

The access rule to add.

Remarks

Adding an access rule might cause existing access rules in the DACL to be merged.

Applies to