System.Security.AccessControl.AccessRule<T> Class

Represents a combination of a user's identity, an access mask, and an access control type (allow or deny). An AccessRule`1 object also contains information about the how the rule is inherited by child objects and how that inheritance is propagated.

See Also: AccessRule<T> Members

Syntax

public class struct AccessRule<T> : AccessRule
where T : struct

Type Parameters

T
Documentation for this section has not yet been entered.

Remarks

Access rights (permissions) are type T, which you can type-cast to or from an int. For example, you can cast a System.Security.AccessControl.FileSystemRights as the access rights type, and then use the instance normally. In contrast, System.Security.AccessControl.AccessRule always takes access rights of type int.

Requirements

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0