OpenWGA 7.6 - TMLScript reference

Auth
Method :

getAccessFilter([database])

On object Auth
Usage Returns the filter id of the currently active WGAPI access filter for the domain or database, null if there is none
Description

Specify parameter "database" to retrieve the ID of a filter that is exclusively effective on the given database. Omit it to retrieve the filter that is active for the whole domain.

If only a filter for the domain is registered a call with a parameter database of that domain will NOT retrieve the domains filter!

Parameters

database (Database, optional):

A database to retrieve the exclusively active filter for. Omit to retrieve the filter for the whole domain.

Return value WGAPI Access filter id (String)
Allowed in script types
  • WebTML pages and normal WebTML actions