CertSrvSecurityDescriptorAddAccessRule Method

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

Definition

Namespace: SysadminsLV.PKI.Security.AccessControl
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public bool AddAccessRule(
	CertSrvAccessRule rule
)

Parameters

rule  CertSrvAccessRule
The access rule to add.

Return Value

Boolean
True if the access rule was added, otherwise False.

Remarks

The method does nothing if current DACL already contains identity specified in the rule parameter. DACL merging is not supported.

See Also