Click or drag to resize

CertTemplateSecurityDescriptorAddAccessRule Method

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

Namespace:  SysadminsLV.PKI.Security.AccessControl
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public bool AddAccessRule(
	CertTemplateAccessRule rule
)

Parameters

rule
Type: SysadminsLV.PKI.Security.AccessControlCertTemplateAccessRule
The access rule to add.

Return Value

Type: 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