Available for: Content Management Server
Task: Allows you to search for all user field names in which the value of the given parameter contains the specified string.
Syntax:
userAttribute 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.name
: the names of the user fields are to
be checked for occurrences of value
.value
contains the value of the respective
parameter.Return value if successful: the list of names from the matching user fields (stringlist)
Necessary permissions: no restrictions
Example:
CM>userAttribute where name phone phone phone_car phone_home