checks if an individual user is in a particular Group and simply return a string set to either true or false Introduced in Tiki 15. Required parameters are inbold. Go to the source code Preferences required: wikiplugin_useringroup
Parameters
Accepted Values
Description
Default
Since
testgroup
text
the Group that the userId check is made against
15.0
userId
text
the userId to be checked
15.0
falsetext
text
The text that is displayed if the test result is false
false
15.0
truetext
text
The text that is displayed if the test result is true
true
15.0
Example
This code:
Copy to clipboard
{useringroup userId="admin" testgroup="Registered" truetext="the user IS in the Group" falsetext="the user is NOT in the Group"}