Determines at run time whether the current Visual Guard principal matches the principal specified by the current permission.
Namespace: Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)
Syntax
Exceptions
Exception | Condition |
---|---|
System.Security..::..SecurityException | The current principal does not pass the security check for the principal specified by the current permission.
-or- The current IPrincipal is null. |