Roles
Create, update, delete, and query the roles in SuiteCRM.
テーブル固有の情報
Select
WHERE 句で任意の条件を使用して、Roles テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。
SELECT * FROM Roles WHERE Name LIKE '%test%' AND [Date Created] > '2017-10-09'
Insert
書き込み可能なカラムを指定して、Role を作成します。
INSERT INTO Roles (Name,[Modules]) VALUES ('Tester', 'AOS_Products')
Update
Id を指定して、書き込み可能なRole カラムを更新できます。
UPDATE Roles SET [Modules] = 'Accounts' WHERE Id = 'Test123'
Delete
Id を指定して、Role を削除します。
DELETE FROM Roles WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the role. |
CreatedById | String | True |
The Id of the user who created the record. |
CreatedByName | String | True |
The Name of the user who created the record. |
DateCreated | Datetime | True |
The date the record was entered. |
DateModified | Datetime | True |
The date the record was last modified. |
Deleted | Bool | False |
Whether the record is deleted. |
Description | String | False |
The description of the role. |
ModifiedById | String | True |
The Id of the user who last modified the record. |
ModifiedByName | String | True |
The Name of the user who last modified the record. |
Modules | String | False |
The modules the role has permission to access. |
Name | String | False |
The name of the role. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |