UserDepartments
Gets information of Departments that a User belongs to, and Job Title information related to the Department.
Select
WHERE 句では、UserCode カラムが必須です。本製品 はKintone API を使用してこのカラムによる結果をフィルタリングします。デフォルトでは、本製品 はクライアント側で本製品 内で他のフィルタを処理します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM UserDepartments where UserCode = 'loginname';
Columns
| Name | Type | References | Description |
| OrganizationId [KEY] | Long | The ID of the Department. | |
| TitleId [KEY] | Long | The ID of the Job Title. | |
| OrganizationCode | String | The Code of the Department. | |
| OrganizationName | String | The display name of the Department. | |
| OrganizationLocalName | String | The localized name of the Department. | |
| OrganizationLocalNameLocale | String | The locale of the localized name of the Department. | |
| OrganizationParentCode | String | The code of the Parent Department. null, if the parent is the Root. | |
| OrganizationDescription | Longvarchar | The description of the Department. | |
| TitleCode | String | The code of the Job Title. | |
| TitleName | String | The name of the Job Title. | |
| TitleDescription | Longvarchar | The description of the Job Title. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| UserCode | String | The log in name of the User. |