< Back
Get-AADIntSPOUserProperties
Post
NAME Get-AADIntSPOUserProperties
SYNOPSIS
Gets properties of SharePoint Online user
SYNTAX
Get-AADIntSPOUserProperties [-Site] <String> [-User] <String> [-AuthHeader] <String> [<CommonParameters>]
DESCRIPTION
Gets properties of SharePoint Online user using PeopleManager API
PARAMETERS
-Site <String>
Url of the SharePoint site
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-User <String>
SharePoint Online authentication header
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AuthHeader <String>
LoginName of the user in format "i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint"
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$auth=Get-AADIntSPOAuthenticationHeader -Site https://company.sharepoint.com
PS C:\\>Get-AADIntSPOUserProperties -Site https://company.sharepoint.com/sales -AuthHeader $auth -User
"i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint"
RELATED LINKS
SYNOPSIS
Gets properties of SharePoint Online user
SYNTAX
Get-AADIntSPOUserProperties [-Site] <String> [-User] <String> [-AuthHeader] <String> [<CommonParameters>]
DESCRIPTION
Gets properties of SharePoint Online user using PeopleManager API
PARAMETERS
-Site <String>
Url of the SharePoint site
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-User <String>
SharePoint Online authentication header
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AuthHeader <String>
LoginName of the user in format "i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint"
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$auth=Get-AADIntSPOAuthenticationHeader -Site https://company.sharepoint.com
PS C:\\>Get-AADIntSPOUserProperties -Site https://company.sharepoint.com/sales -AuthHeader $auth -User
"i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint"
RELATED LINKS