CertTemplateSecurityDescriptorAddAccessRule Method
Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this
CommonObjectSecurity object.
Namespace: SysadminsLV.PKI.Security.AccessControlAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
public bool AddAccessRule(
CertTemplateAccessRule rule
)
Public Function AddAccessRule (
rule As CertTemplateAccessRule
) As Boolean
public:
bool AddAccessRule(
CertTemplateAccessRule^ rule
)
member AddAccessRule :
rule : CertTemplateAccessRule -> bool
- rule CertTemplateAccessRule
- The access rule to add.
BooleanTrue if the access rule was added, otherwise
False.
The method does nothing if current DACL already contains identity specified in the rule
parameter. DACL merging is not supported.