spo roledefinition get¶
Gets specified role definition from web
Usage¶
m365 spo roledefinition get [options]
Options¶
-u, --webUrl <webUrl>
- URL of the site for which to retrieve the role definition
-i, --id <id>
- The Id of the role definition to retrieve.
-h, --help
- output usage information
--query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text,csv
. Defaultjson
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Examples¶
Retrieve the role definition for site https://contoso.sharepoint.com/sites/project-x with id 1
m365 spo roledefinition get --webUrl https://contoso.sharepoint.com/sites/project-x --id 1