OpenWGA 7.6 - TMLScript reference

Auth
Method :

applyAccessFilter(filterId [, database])

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

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.

Parameters

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