getCustomersObjects

getCustomersObjects

 

Syntax

getCustomersObjects(serviceDeskId[, displayNameOrNameOrEmail])

Package

 

Alias

 

Pkg Usage

 

Description

Returns an array of JUser structures

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

serviceDeskId

number

Yes

The ID of the service desk for which the customers will be retrieved

displayNameOrNameOrEmail

string

No

A string that fully or partially describes a customer's name, or display name, or email - used for filter the customers

Return Type

JUser[]

Examples

Example 1

return getCustomersObjects(1);

Returns an array of JUser structures.

Example 2

Returns an array of JUser structures, filtered by their name, display name or email using the string "John".

return getCustomersObjects(1, "John");

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.