Skip to end of metadata
Go to start of metadata

Syntax

changeFilterOwner(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
stringYesAn username the new owner of the filter
filterId
stringYesThe id of the filter to transfer

Return type

boolean

Returns true if the ownership was successfully changed.

Example

boolean success = changeFilterOwner("jdoe", "admin", 10200);


See also