Hey,
when creating a smart search for users, selecting certain fields allows you to enter an expression as part of the condition.
I haven't been able to find any documentation for this - how can we utilize this? Is it a regexp, what variables are available? Should it be structured in a specific way?
It is available for the field 'Group', possibly others.
My specific problem is that I need to find all users that are members of only one specific group and no other groups. I could just create a rule for each of the remaining groups (that the user may not be a member of each of them), but this requires adding a rule whenever a new group is created. I figured we might be able to do this using an expression, but I'm also open to other suggestions or approaches I haven't thought of :)
Thanks!
Best regards
Martin