Roles
SharePoint のロールを作成、更新、削除、およびクエリします。
Table Specific Information
Select
To use the UserName pseudo column, you must set the value to the LoginName of the user. You can obtain the LoginName by querying the Users table.
Insert
To insert a Role, at a minimum the Name is required:
INSERT INTO Roles (Name) VALUES ('My Role')
Columns
| Name | Type | ReadOnly | Description |
| Name# [KEY] | String | False |
ロールの名前。 |
| Description# | String | False |
ロールの説明。 |
| Permissions# | String | False |
ロールの権限を表すlong。 |
| RoleType | String | True |
ロールのタイプ。 |
| IsHidden | Boolean | True |
ロールが非表示かどうかを示すboolean。 |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| UserName | String |
ロールを取得する対象になるユーザーのログイン名。指定したユーザーに割り当てられたロールだけを返すには、SELECTステートメントでこの値を指定します。 |
| GroupName | String |
ロールを取得する対象になるグループ名。指定したグループに割り当てられたロールだけを返すには、SELECT ステートメントでこの値を指定します。 |