Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 714 Bytes

NewPnPUser.md

File metadata and controls

24 lines (20 loc) · 714 Bytes

#New-PnPUser Adds a user to the built-in Site User Info List and returns a user object ##Syntax

New-PnPUser -LoginName <String>
            [-Web <WebPipeBind>]

##Returns

Microsoft.SharePoint.Client.User

##Parameters

Parameter Type Required Description
LoginName String True The users login name ([email protected])
Web WebPipeBind False The web to apply the command to. Omit this parameter to use the current web.
##Examples

###Example 1

PS:> New-PnPUser -LoginName user@company.com

Adds a new user with the login [email protected] to the current site