Syntax
admChangeFilterOwner(oldOwnerName, newOwnerName, filterName)
Description
Changes the ownership of an existing filter.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
oldOwnerName | string | Yes | The username of the current/old owner of the filter |
newOwnerName | string | Yes | An username the new owner of the filter |
filterId | string | Yes | The id of the filter to transfer |
Return type
boolean
Returns true if the ownership was successfully changed.
Example
boolean success = admChangeFilterOwner("jdoe", "admin", 10200);
See also