pnp/cli-microsoft365

New command: `spo web roleassignment list`

オープン

#6,188 opened on 2024/07/27

 (11 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (399 件のフォーク)auto 404
good first issuehelp wantedkeep-opennew feature

Repository metrics

Stars
 (1,390 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Usage

m365 spo web roleassignment list [options]

Description

Lists all role assignments from a specific web

Options

Option Description
-u, --webUrl <webUrl> URL of the site.

Examples

Lists all role assignments of a specific site

m365 spo web roleassignment list --webUrl "https://contoso.sharepoint.com/sites/Marketing"

Default properties

  • PrincipalId
  • Member/Title
  • RoledefinitionBindings/Name (comma-separated)

Additional Info

API request

GET https://contoso.sharepoint.com/sites/Marketing/_api/Web/RoleAssignments?$expand=Member,RoleDefinitionBindings&$select=*,Member,RoleDefinitionBindings

コントリビューターガイド