72 Citrix NetScaler Policy Configuration and Reference Guide

HTTP Expression Prefixes that Return Text

Prefix

Description

 

 

HTTP.REQ.USER.GROUPS.

Ignores the empty elements in the list of groups to

IGNORE_EMPTY_ELEMENTS

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":

 

a=10,,b=11, ,c=89

 

But the element that follows "b=11" is not considered

 

an empty element.

 

For example, consider the following header in an HTTP

 

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

 

The following expression returns a value of 5:

 

HTTP.REQ.HEADER("Cust_Header").TYPECAST_

 

LIST_T(',').COUNT

HTTP.REQ.USER.

Returns a list of groups to which the user belongs. The

GROUPS(sep)

groups in the list are separated by the delimiter

 

specified as the argument.

 

For example, the following expression returns a colon-

 

separated list of all the groups to which the user

 

belongs.

 

HTTP.REQ.USER.GROUPS(':')

 

In this list, internal groups are listed first, followed by

 

external groups.

 

Parameters:

 

sep - delimiter

 

 

Page 86
Image 86
Citrix Systems 9.2 manual Http.Req.User.Groups