System.Security.AccessControl.ObjectSecurity.AccessRuleFactory Method

Initializes a new instance of the System.Security.AccessControl.AccessRule class with the specified values.

Syntax

public abstract AccessRule AccessRuleFactory (System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)

Parameters

identityReference
The identity to which the access rule applies. It must be an object that can be cast as a System.Security.Principal.SecurityIdentifier.
accessMask
The access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators.
isInherited
true if this rule is inherited from a parent container.
inheritanceFlags
Specifies the inheritance properties of the access rule.
propagationFlags
Specifies whether inherited access rules are automatically propagated. The propagation flags are ignored if inheritanceFlags is set to InheritanceFlags.None.
type
Specifies the valid access control type.

Returns

The System.Security.AccessControl.AccessRule object that this method creates.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0