Get-SPOUser

Returns the SharePoint Online user or security group accounts that match a given search criteria.

Syntax

Get-SPOUser
   [-Group <String>]
   [-Limit <String>]
   -Site <SpoSitePipeBind>
   [<CommonParameters>]
Get-SPOUser
   [-Limit <String>]
   -Site <SpoSitePipeBind>
   [<CommonParameters>]
Get-SPOUser
   [-LoginName <String>]
   -Site <SpoSitePipeBind>
   [<CommonParameters>]

Description

This cmdlet contains more than one parameter set. You may only use parameters from one parameter set, and you may not combine parameters from different parameter sets. For more information about how to use parameter sets, see Cmdlet Parameter Sets (http://go.microsoft.com/fwlink/?LinkID=187810).

The Get-SPOUser cmdlet matches one and only one user or security group.

You must be a SharePoint Online global administrator and a site collection administrator to run the Get-SPOUser cmdlet.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).

Examples

------------ Example 1 --------------------

{example code}

{example description}

Required Parameters

-Site

{{Fill Site Description}}

Type:SpoSitePipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

Optional Parameters

-Group

{{Fill Group Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online
-Limit

{{Fill Limit Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online
-LoginName

{{Fill LoginName Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online