CertTemplateSecurityDescriptorAccessRuleFactory Method

Initializes a new instance of the CertTemplateAccessRule class that represents a new access control rule for the specified user, with the specified access rights, access control, and flags.

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 override AccessRule AccessRuleFactory(
	IdentityReference identityReference,
	int accessMask,
	bool isInherited,
	InheritanceFlags inheritanceFlags,
	PropagationFlags propagationFlags,
	AccessControlType type
)

Parameters

identityReference  IdentityReference
An IdentityReference object that represents a user account.
accessMask  Int32
An integer that specifies an access type.
isInherited  Boolean
True if the access rule is inherited; otherwise, False. This parameter is not used and is always set to False.
inheritanceFlags  InheritanceFlags
One of the InheritanceFlags values that specifies how to propagate access masks to child objects. This parameter is not used and is always set to None.
propagationFlags  PropagationFlags
One of the PropagationFlags values that specifies how to propagate Access Control Entries (ACEs) to child objects. This parameter is not used and is always set to None.
type  AccessControlType
One of the AccessControlType values that specifies whether access is allowed or denied.

Return Value

AccessRule
A new CertTemplateAccessRule object that represents a new access control rule for the specified user, with the specified access rights, access control, and flags.

See Also