Citrix Systems Network Router 9.2 User Manual
Chapter 4 Advanced Expressions: Evaluating Text
71
HTTP.REQ.USER.EXTERNAL_
GROUPS(sep)
Returns a list of all the external groups to which the user
belongs. The groups are separated by the given
delimiter.
belongs. The groups are separated by the given
delimiter.
For example, the following expression gives a list of all
the external groups, and the groups are separated by a
colon (":"):
the external groups, and the groups are separated by a
colon (":"):
HTTP.REQ.USER.EXTERNAL_GROUPS(':')
Parameters:
sep - delimiter
HTTP.REQ.USER.EXTERNAL_
GROUPS.IGNORE_EMPTY_
ELEMENTS
Ignores the empty elements in the list of external groups
to which the user belongs.
to which the user belongs.
If the element delimiter in the list is a comma (","), then
the following list has an empty element following
"a=10":
the following list has an empty element following
"a=10":
a=10,,b=11, ,c=89
But the element following "b=11" is not considered an
empty element.
empty element.
For example, consider the following header in an HTTP
request packet:
request packet:
Cust_Header : 123,,24, ,15
The following expression returns a value of 4:
HTTP.REQ.HEADER("Cust_Header").TYPECAST_
LIST_T(','). IGNORE_EMPTY_ELEMENTS.COUNT
LIST_T(','). IGNORE_EMPTY_ELEMENTS.COUNT
The following expression returns a value of 5:
HTTP.REQ.HEADER("Cust_Header").TYPECAST_
LIST_T(',').COUNT
LIST_T(',').COUNT
HTTP.REQ.USER.GROUPS
Returns a list of the internal and external groups to
which the user belongs. The groups are separated by a
comma (",").
which the user belongs. The groups are separated by a
comma (",").
In this list, internal groups are listed first, followed by
external groups.
external groups.
HTTP Expression Prefixes that Return Text
Prefix
Description