group where

Available for: Content Management Server

Task: Lists the names of all managed groups in whose parameter name or realName the specified character string appears.

Syntax:

group where {parameter value}

Function parameters:

  • parameter specifies the name of the parameter whose value is to be searched for or specifies the number of hits. The following parameters are allowed:
    • maxResults specifies that value is a number that limits the number of hits. If number is less than or equals zero, the number of hits is unlimited.
    • groupText specifies that value is the string for which the group parameters name and RealName are searched.
  • value: The value of the corresponding parameter.

Return value if successful: list of the group names (stringlist)

Necessary permissions: none

Example:

CM>group where groupText editors maxResults 20
editors news_editors online_editors