Skip to content

New command: spo user list #1672

@VelinGeorgiev

Description

@VelinGeorgiev

Usage

spo user list [options]

Description

Lists all the users within specific web

Options

Option Description
-u, --webUrl <webUrl> Url of the web to list the users within
-o, --output [output] Output type. json,text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Example

Gets list of users for web https://contoso.sharepoint.com/sites/mysite

spo user list --webUrl "https://contoso.sharepoint.com/sites/mysite"

Rest APIs reference

GET https://contoso.sharepoint.com/sites/mysite/_api/web/SiteUsers

Additional Information

Get-PnPUser -
https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpuser?view=sharepoint-ps

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions