User Parameter (Connect-SharePoint Cmdlet)
The SharePoint user account used to authenticate.
Syntax
Connect-SharePoint -User string
Data Type
cstr
Default Value
""
Remarks
Together with Password, this field is used to authenticate against the SharePoint server.
For SharePoint On-Premise, User should include the domain and will look similar to the following: DOMAIN\Username.
For SharePoint Online, User will look similar to the following: [email protected].
This is a required parameter.