SP へRoleAssignment オブジェクト (sp.js)

リスト ビューでデータの次のページを取得するために必要な情報を示す値を取得します。

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.RoleAssignment()

メンバー

RoleAssignmentオブジェクトでは、次のメンバーがあります。

Constructor

RoleAssignmentオブジェクトでは、次のコンスがあります。

コンストラクター

説明

RoleAssignment

Initializes a new instance of the SP.RoleAssignment object.

メソッド

RoleAssignmentオブジェクトでは、次の方法があります。

メソッド

説明

deleteObject

Removes the role assignment object from the parent role assignment collection.

importRoleDefinitionBindings

Imports the specified role definition bindings into the collection of role definitions that are bound to the role assignment.

initPropertiesFromJson

更新プログラム

Updates the role assignment object with changes that have been made to its properties.

プロパティ

RoleAssignmentオブジェクトでは、次のプロパティがあります。

プロパティ

説明

メンバー

Gets the user or group that corresponds to the Role Assignment.

principalId

The unique identifier of the role assignment.

roleDefinitionBindings

Gets the collection of role definition bindings for the role assignment.

他のリソースのエンドポイント

詳細については、 RoleAssignment リソースを参照してください。

エンドポイント URI 構造

http://<sitecollection>/<site>/_api/web/RoleAssignments(principalid)

HTTP 要求

このリソースには、次の HTTP コマンドがサポートしています。

書式を削除します。

DELETE http://<sitecollection>/<site>/_api/web/RoleAssignments(principalid)

書式を結合します。

MERGE http://<sitecollection>/<site>/_api/web/RoleAssignments(principalid)

投稿の書式

POST http://<sitecollection>/<site>/_api/web/RoleAssignments(principalid)

書式を配置します。

PUT http://<sitecollection>/<site>/_api/web/RoleAssignments(principalid)