User Parameter (Connect-JSON Cmdlet)
Specifies the username or account ID used to authenticate the user.
Syntax
Connect-JSON -User string
Data Type
cstr
Default Value
""
Remarks
The User and Password properties are used together to authenticate with the target service or server.
- ConnectionType: AmazonS3
- AuthScheme: ADFS uses your ADFS username.
- AuthScheme: Okta uses your Okta username.
- AuthScheme: PingFederate uses your PingFederate username.
- ConnectionType: FTP(S)
- AuthScheme: Basic uses your FTP(S) server username.
- ConnectionType: HDFS or HDFS Secure
- AuthScheme: Negotiate uses your HDFS instance username.
- ConnectionType: HTTP(S)
- AuthScheme: Basic uses the username associated with the HTTP stream.
- AuthScheme: Digest uses the username associated with the HTTP stream.
- AuthScheme: OAuthPassword uses the username associated with the HTTP stream.
- ConnectionType: SharePoint SOAP
- AuthScheme: Basic uses your SharePoint account username.
- AuthScheme: ADFS uses your ADFS username.
- AuthScheme: Okta uses your Okta username.
- AuthScheme: OneLogin uses your OneLogin username.
This property is useful for authenticating user accounts across supported connection types and authentication schemes.
This is a required parameter.