ApiData().SetBehaviorSecurityLevel

Sets the numeric integer security level for the given Behavior.

Description

This function sets the security level for a specific Behavior, modifying the current SILVIA Brain to do so. The security range is 0 – n, where 0 is “open” to anyone, and any value above 0 must be met with a matching or greater user security level for the Behavior to be invoked. Note that a higher Behavior security level can override a lower Exuder security level.

Example Usage (C#)


bool success = _core.ApiData().SetBehaviorSecurityLevel(147, 2);

Parameters

int id The numeric integer id of the Behavior to modify by setting the security level. int securityLevel The numeric integer value representing the new security level to apply to the given Behavior.

Returns

The boolean success or failure of the operation.

ApiData()