PSSenderInfo(PSPrincipal, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).