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: 2017.0.101.17 (2017.0.101.17)
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. |