Directory.GetLastSearch

Retrieves the latest search result for a user. The last search performed is cached for easy and quick access.

Parameters

Compose.id (Required)

Specifies the identifier of an item, as created when an item integrates with or opens the directory.

Directory.id (Required)

Specifies the identifier of the directory to which the entry is added.

Directory.queryCount

Specifies the maximum number of directories to retrieve.

User.context (Required)

Specifies the context identifier for this user's session.

Return Values

Value

Description

Directory.hasMore

Indicates whether there are more matches than were returned.

Directory.id

Identifier for the directory that was searched.

Directory.isEmpty

1 indicates that the directory is empty.

Directory.isReadOnly

1 indicates that the directory has read-only access.

Directory.Item[n].cellPhone

Cellular phone number of the nth item.

Directory.Item[n].city

City of the nth item.

Directory.Item[n].comments

Comments for the nth item.

Directory.Item.count

Number of items returned from the search.

Directory.Item[n].country

Country of the nth item.

Directory.Item[n].department

Department of the nth item.

Directory.Item[n].displayName

Display name of the nth item.

Directory.Item[n].email

Email address of the nth item.

Directory.Item[n].emailDisplay

Displayable version of the email address of the nth item.

Directory.Item[n].fax

Fax number of the nth item.

Directory.Item[n].firstName

First name of the nth item.

Directory.Item[n].greeting

Greeting of the nth item.

Directory.Item[n].homePhone

Home phone number of the nth item.

Directory.Item[n].id

Identifier of the nth item.

Directory.Item[n].instMessID

Instant message ID of the nth item.

Directory.Item[n].lastName

Last name of the nth item.

Directory.Item[n].mailStop

Mail stop of the nth item.

Directory.Item[n].name

Full name of the nth item.

Directory.Item[n].orgName

Organization name of the nth item.

Directory.Item[n].owner

Owner of the nth item.

Directory.Item[n].pager

Pager number of the nth item.

Directory.Item[n].phone

Telephone number of the nth item.

Directory.Item[n].state

State of the nth item.

Directory.Item[n].street

Address of the nth item.

Directory.Item[n].title

Title of the nth item.

Directory.Item[n].type

Item type of the nth item. Possible values are 4 (Organization), 5 (Resource), and 6 (Person). The default is 6 (Person).

Directory.Item[n].zip

Postal code of the nth item.

Directory.name

Name of the directory that was searched.

Example

<A href="/servlet/webacc?User.context=xyz&action=Directory.GetLastSearch
&Directory.id=Frequent+Contacts&Compose.id="5"> Get Last Search </A>