Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 1.71 KB

Get-PnPUserProfileProperty.md

File metadata and controls

70 lines (49 loc) · 1.71 KB
external help file applicable schema
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
2.0.0

Get-PnPUserProfileProperty

SYNOPSIS

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[]>
                           [-Connection <SPOnlineConnection>]

DESCRIPTION

Requires a connection to a SharePoint Tenant Admin site.

EXAMPLES

------------------EXAMPLE 1------------------

PS:> Get-PnPUserProfileProperty -Account '[email protected]'

Returns the profile properties for the specified user

------------------EXAMPLE 2------------------

PS:> Get-PnPUserProfileProperty -Account '[email protected]','[email protected]'

Returns the profile properties for the specified users

PARAMETERS

-Account

The account of the user, formatted either as a login name, or as a claims identity, e.g. i:0#.f|membership|[email protected]

Type: String[]
Parameter Sets: (All)

Required: True
Position: 0
Accept pipeline input: False

-Connection

Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: SPOnlineConnection
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

OUTPUTS

RELATED LINKS

SharePoint Developer Patterns and Practices