pnp/cli-microsoft365

New command: `spo web roleassignment list`

开放

#6,188 创建于 2024年7月27日

 (11 条评论) (0 个反应) (0 位负责人)TypeScript (399 个派生)auto 404
good first issuehelp wantedkeep-opennew feature

仓库指标

星标
 (1,390 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南