< Back
Get-AADIntSPOSiteGroups
Post
NAME Get-AADIntSPOSiteGroups
SYNOPSIS
Gets list of groups of SharePoint Online site
SYNTAX
Get-AADIntSPOSiteGroups [-Site] <String> [-AuthHeader] <String> [<CommonParameters>]
DESCRIPTION
Gets list of groups 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-AADIntSPOSiteGroups -Site https://company.sharepoint.com/sales -AuthHeader $auth
RELATED LINKS
SYNOPSIS
Gets list of groups of SharePoint Online site
SYNTAX
Get-AADIntSPOSiteGroups [-Site] <String> [-AuthHeader] <String> [<CommonParameters>]
DESCRIPTION
Gets list of groups 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-AADIntSPOSiteGroups -Site https://company.sharepoint.com/sales -AuthHeader $auth
RELATED LINKS