JDBC Driver for Sansan

Build 26.0.9770

AccessControlPattern

Create, update, delete and query the access privilege patterns of the organization. This table requires APIVersion=v6.0.

テーブル固有の情報

組織のアクセス権限パターンの作成、更新、削除、およびクエリを行います。

このテーブルには Sansan API バージョン 6.0 が必要です。このテーブルはAPI バージョンv6.0 でのみ使用できます。使用するにはAPIVersion をv6.0 に設定してください。

Select

本製品 は Sansan API を使用して、以下のカラムと演算子で構築されたWHERE 句条件を処理します。その他のフィルタはクライアント側でドライバー内部で処理されます。

  • AclPatternName は=、CONTAINS 演算子をサポートします。

例えば、以下のクエリはサーバー側で処理されます。

SELECT * FROM AccessControlPattern WHERE AclPatternName = 'General employee';
SELECT * FROM AccessControlPattern WHERE CONTAINS(AclPatternName, 'General employee');

Insert

アクセス権限パターンを作成するには、AclPatternName とDetails が必要です。Details にはobjectDepartmentId とaccessibleFieldsSettingsName フィールドを保持するオブジェクトのJSON 配列を指定します。

INSERT INTO AccessControlPattern (AclPatternName, Description, Details) VALUES ('General employee', 'Access privilege pattern for general employees', '[{"objectDepartmentId":"E4BE95AF6211CD96BE7E5A1F4BF864D2","accessibleFieldsSettingsName":"ALL"}]');

Update

更新するアクセス権限パターンを識別するには、AclPatternId が必要です。

UPDATE AccessControlPattern SET AclPatternName = 'General employee', Details = '[{"objectDepartmentId":"E4BE95AF6211CD96BE7E5A1F4BF864D2","accessibleFieldsSettingsName":"ALL"}]' WHERE AclPatternId = '6A17C498D4D745008716F5C67DFCDBDC';

Delete

削除するアクセス権限パターンを識別するには、AclPatternId が必要です。

DELETE FROM AccessControlPattern WHERE AclPatternId = '6A17C498D4D745008716F5C67DFCDBDC';

Columns

Name Type ReadOnly Description
AclPatternId [KEY] String True

The unique identifier of the access privilege pattern.

AclPatternName String False

The name of the access privilege pattern.

Description String False

The description of the access privilege pattern.

IsInUse Boolean True

Whether the access privilege pattern is currently assigned to at least one department.

Details String False

The departments the pattern grants access to, as a JSON array of objects holding the objectDepartmentId and accessibleFieldsSettingsName fields.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770