Skip to end of metadata
Go to start of metadata

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.

Availability

This routine is available starting with SIL Engine 4.8.0.4.

Syntax

admGetFiltersForProject(user, projectKey)

Description

Retrieves all filters for a given project that the user is allowed to see.

Parameters

Parameter name

Type

Required

Description

user

string

Yes

The user that needs to have permissions on the specified project

projectKeystringYesKey of the selected project.

Return type

JFilter []

Returns a list of filters for a given project that the user is allowed to see.

Example

JFilter [] filters = admGetFiltersForProject("admin", "TEST");
for(JFilter f in filters) {
    runnerLog("returned filter: " + f);
}
  • No labels