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


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

Type Parameters

Documentation for this section has not yet been entered.


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.


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