< Back

Get-AADIntSPOSiteUsers

Fri Jan 10, 2020 5:49 pm

NAME Get-AADIntSPOSiteUsers



SYNOPSIS

Gets list of users of SharePoint Online site





SYNTAX

Get-AADIntSPOSiteUsers [-Site] <String> [-AuthHeader] <String> [<CommonParameters>]





DESCRIPTION

Gets list of users of SharePoint Online site the user has access to.





PARAMETERS

-Site <String>

Url of the SharePoint site



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AuthHeader <String>

SharePoint Online authentication header



Required? true

Position? 2

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-AADIntSPOSiteUsers -Site https://company.sharepoint.com/sales -AuthHeader $auth











RELATED LINKS