user where

Available for: Content Management Server

Task: Lists the logins of all managed users in whose name or login the specified string occurs.

Syntax:

user 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.
    • userText specifies that value is a string for which the user parameters name and login are searched.
  • value is the string which is searched for in the values of the name and login user parameters.

Return value if successful: list of user logins (stringlist)

Necessary permissions: none

Example:

CM>user where userText michael
long michael