Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.03 KB

GetPnPUserProfileProperty.md

File metadata and controls

32 lines (25 loc) · 1.03 KB

#Get-PnPUserProfileProperty You must connect to the tenant admin website (https://:-admin.sharepoint.com) with Connect-PnPOnline in order to use this cmdlet.

##Syntax

Get-PnPUserProfileProperty -Account <String[]>

##Detailed Description Requires a connection to a SharePoint Tenant Admin site.

##Returns

Microsoft.SharePoint.Client.UserProfiles.PersonProperties

##Parameters

Parameter Type Required Description
Account String[] True The account of the user, formatted either as a login name, or as a claims identity, e.g. i:0#.f
##Examples

###Example 1

PS:> Get-PnPUserProfileProperty -Account 'user@domain.com'

Returns the profile properties for the specified user

###Example 2

PS:> Get-PnPUserProfileProperty -Account 'user@domain.com','user2@domain.com'

Returns the profile properties for the specified users