Partager via


PSAuthorizationManager(String) Constructor

Definition

Initializes a new instance of the PSAuthorizationManager class, for a given ShellId.

public:
 PSAuthorizationManager(System::String ^ shellId);
public:
 PSAuthorizationManager(Platform::String ^ shellId);
 PSAuthorizationManager(std::wstring const & shellId);
public PSAuthorizationManager (string shellId);
new Microsoft.PowerShell.PSAuthorizationManager : string -> Microsoft.PowerShell.PSAuthorizationManager
Public Sub New (shellId As String)

Parameters

shellId
String

The shell identifier that the authorization manager applies to. For example, Microsoft.PowerShell

Applies to