Adds the specified value to the array associated with the resource.
Type: rule policy.
Syntax
add {sid: Handle, entry: Entry}
In this case:
Handle
refers to the handle of the resource associated with the array.Entry
refers to the value that should be added to the array.
Returned value
KSS_GRANT
if the value was added or if the array already contains this value.
KSS_DENY
in the following cases:
HashSet
class object.Example
...
/* For a Server entity query via the security interface, the value 5 is added to the array associated with the entity */
security src=Server, method=Add {
S.add {sid: src_sid, entry: 5}
}
Page top