Partager via


PSSenderInfo(PSPrincipal, String) Constructor

Definition

Constructs PSPrincipal using PSIdentity and a token (used to construct WindowsIdentity)

public:
 PSSenderInfo(System::Management::Automation::Remoting::PSPrincipal ^ userPrincipal, System::String ^ httpUrl);
public PSSenderInfo (System.Management.Automation.Remoting.PSPrincipal userPrincipal, string httpUrl);
new System.Management.Automation.Remoting.PSSenderInfo : System.Management.Automation.Remoting.PSPrincipal * string -> System.Management.Automation.Remoting.PSSenderInfo
Public Sub New (userPrincipal As PSPrincipal, httpUrl As String)

Parameters

userPrincipal
PSPrincipal

Connecting User Information

httpUrl
String

httpUrl element (from WSMAN_SENDER_DETAILS struct).

Applies to