OpenWGA 7.2 - TMLScript reference
TMLContext "this"Method :
hasGroup(group)
On object | TMLContext "this" |
Usage | Tests if the user is member of the specified group |
Description | This is the TMLScript pendant of WebTML attribute hasgroups. Unlike this it only takes one group as parameter, as it can be used multiple times in the same TMLScript expression. |
Parameters |
group (String): Name of the group to test |
Return value | true if the user is member of this group |
Allowed in script types |
|