GetFieldStringValues

Description

This Entity object method allows multiple field values to be retrieved with one call. The field_names parameter is a string array of field names, and the result is a string array of field values, in the same order as the input array. If there is an error retrieving any one of the named fields (for example, if you specify an incorrect name of a field), an exception is thrown.

Syntax

Perl


$entity->GetFieldStringValues (field_names); 
Identifier
Description
entity
An Entity object representing a user data record.
field_names
A reference to an array of strings containing the valid field names.
Return value
A reference to an array of strings containing the value or values stored for each of the specified field names.

Example

Perl

my @fieldnames = ("submitter", "owner");
my $fieldvalues = $entity->GetFieldStringValues (\@fieldnames);