NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SecurityAction Enumeration

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.

Members

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.

Requirements

Namespace: System.Security.Permissions

Assembly: mscorlib.dll

See Also

System.Security.Permissions Namespace