Assigns the specified value to the specific key in the working copy of the dictionary associated with the resource.
Type: rule policy.
Syntax
set {sid: Handle, key: Key, value: Value}
In this case:
Handle
refers to the handle of the resource associated with the dictionary.Key
refers to the key that should be assigned the value.Value
refers to the value that should be assigned to the key.
Returned value
KSS_GRANT
if a value has been assigned.
KSS_DENY
in the following cases:
StaticMap
class object.Example
...
/* For a Server entity query via the security interface, in the dictionary associated with the handle
of this entity, key "k1" is assigned the value of 2 */
security src=Server, method=Set {
M.set {sid: src_sid, key: "k1", value: 2 }
}
Page top