Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSAuthorizationManager Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents the authorization manager provided by Windows PowerShell.

Namespace:   Microsoft.PowerShell
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.AuthorizationManager
    Microsoft.PowerShell.PSAuthorizationManager

public sealed class PSAuthorizationManager : AuthorizationManager

NameDescription
System_CAPS_pubmethodPSAuthorizationManager(String)

Creates a new PSAuthorizationManager object.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodShouldRun(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.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Return to top

Community Additions

Show:
© 2016 Microsoft