Pandora - Locate a Contact/User
From SmartWiki
Function Overview
This function is used to return a recordset of contacts.
contact_find(flag,callbackfunc,fields,filter,order,start,end,prefix)
| Parameter | Description |
|---|---|
| Flag | Asynchronous processing Flag
Set to False for synchronous processing. Set to True for asynchronous processing. |
| Callbackfunc | User created Java function to manage the callback from an asynchronous function. |
| Fields | The field list to be retrieved. |
| Filter | The criteria to apply on the return records. |
| Order | The field to be ordered by for the return records. |
| Start | The index of the first record to be returned from the record set retrieved based on the filter. |
| End | The index of the last record to be returned from the record set retrieved based on the filter. |
| Prefix | Used by system to process fields across multiple entities. |
| Return | ssRecordSet object |
- Fields = the driver for created record set.
- Filter = "lastname like 'y%'"
- Order = "lastname desc"
- Start = 0 to 200 default = 0
- End = 200 default = 200
Notes
- Use "name" to obtain or filter by the name of the contact's parent company.
- use "isactive" to determine if a user is active (1=Administration or Portal Interface, 3=User Centric or Applicant Interface)