Updated: April 27, 2016
Applies To: Windows PowerShell
Represents the authorization manager provided by Windows PowerShell.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
|ShouldRun(CommandInfo, CommandOrigin, PSHost, Exception)|
Determines if the host should run the command a specified by the CommandInfo parameter. The default implementation gives permission to run every command.(Inherited from AuthorizationManager.)
This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.
To create an authorization manager class that implements your own authorization policy, derive from the AuthorizationManager class.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.