Home > @i2analyze/notebook-sdk > app > IValueFactory > createSecuritySetting
app.IValueFactory.createSecuritySetting() method
Creates a security setting that you can use to configure record security.
Signature:
createSecuritySetting(data: records.ISecuritySettingData): records.ISecuritySetting;
Introduced: version 1.1
Parameters
| Parameter | Type | Description |
|---|---|---|
| data | records.ISecuritySettingData | The data for the new security setting. |
Returns:
The new security setting.
Exceptions
Error if the security dimension or dimension values in the data do not exist in the security schema.
Remarks
You can use the same security setting to configure the security of several records.