InitialSessionState.AuthorizationManager Property

Gets and sets the authorization manager of the initial session state. This property is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As InitialSessionState
Dim value As AuthorizationManager

value = instance.AuthorizationManager

instance.AuthorizationManager = value

public virtual AuthorizationManager AuthorizationManager { get; set; }
/** @property */
public AuthorizationManager get_AuthorizationManager ()

/** @property */
public void set_AuthorizationManager (AuthorizationManager value)

public function get AuthorizationManager () : AuthorizationManager

public function set AuthorizationManager (value : AuthorizationManager)

Property Value

An AuthorizationManager object that defines how a runspace is managed, such as indicating whether a specific command should or should not be run.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft