OpenWGA 7.11 - TMLScript reference

Method :

applyAccessFilter(filterId [, database])

On object Auth
Usage Applies an WGAPI access filter to the current user on the current domain given database

If the call includes the parameter "database" then the filter will only be applied to the given database. Otherwise it is applied to all databases of the domain that this Auth object belongs to.

The filter will automatically applied to the user on this session every time he uses the affected databases.

This call will implicitly reopen open sessions on all affected databases so that the filter is immediately active.


filterId (String):

ID of the filter

database (Database, optional):

Database on which the filter should be effective. Leave out to let it be effective on all databases of the current domain.

Allowed in script types
  • WebTML pages and normal WebTML actions