The list of security actions that can be performed declaratively.
[Visual Basic] Public Enum SecurityAction [C#] public enum SecurityAction [C++] public enum SecurityAction
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Member Name | Description |
---|---|
Assert | Assert permission so that callers are not required to have it. Occurs at run-time. |
Demand | Demand that all callers have a permission. Occurs at run-time. |
Deny | Deny permission so that any checks for it will fail. Occurs at run-time. |
InheritanceDemand | Demand permission of a subclass (at the class level) or of a subclass overriding the method (at the method level). Occurs at load-time (JIT compilation). |
LinkDemand | Demand permission of the immediate caller. Occurs at load-time (JIT compilation). |
PermitOnly | Reduces the effective permission set so that any checks for a permission not in the permitted set will fail. Occurs at run-time. |
RequestMinimum | Request minimum permissions required to run. Processed at time of permission grant. |
RequestOptional | Request additional permissions that are optional (not required to run). Processed at time of permission grant. |
RequestRefuse | Refuse permissions that should never be granted. Processed at time of permission grant. |
Namespace: System.Security.Permissions
Assembly: mscorlib.dll