Directory.ModifyEntry

Modifies an entry in the specified personal directory. The user must have read and write access to the directory.

Parameters

Compose.id (Required)

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 will be added.

Directory.Item.cellPhone

Specifies the cellular phone number associated with this entry.

Directory.Item.city

Specifies the city associated with this entry.

Directory.Item.comments

Specifies the comments associated with this entry.

Directory.Item.country

Specifies the country associated with this entry.

Directory.Item.department

Specifies the department associated with this entry.

Directory.Item.displayName

Specifies the display name associated with this entry.

Directory.Item.email

Specifies the email address for this entry. At least one of the email, firstName, or lastName parameters is required.

Directory.Item.emailDisplay

Specifies the email address associated with this entry.

Directory.Item.fax

Specifies the fax number associated with this entry.

Directory.Item.firstName

Specifies the first name or given name for this entry. At least one of the email, firstName, or lastName parameters is required.

Directory.Item.greeting

Specifies the greeting associated with this entry.

Directory.Item.homePhone

Specifies the home phone number associated with this entry.

Directory.Item.id

Specifies the identifier associated with this entry.

Directory.Item.instMessID

Specifies the instant message ID associated with this entry.

Directory.Item.lastName

Specifies the last name or surname for this entry. The email, firstName, or lastName parameters is required.

Directory.Item.mailStop

Specifies the mail stop associated with this entry.

Directory.Item.name

Specifies the name associated with this entry.

Directory.Item.orgName

Specifies the organization name associated with this entry.

Directory.Item.owner

Specifies the owner of a resource associated with this entry.

Directory.Item.pager

Specifies the pager number associated with this entry.

Directory.Item.phone

Specifies the telephone number associated with this entry.

Directory.Item.state

Specifies the state associated with this entry.

Directory.Item.street

Specifies the address associated with this entry.

Directory.Item.title

Specifies the title associated with this entry.

Directory.Item.type

Specifies the entry type:

  • 4 Organization
  • 5 Resource
  • 6 Person
Directory.Item.zip

Specifies the Zip code associated with this entry.

User.context (Required)

Specifies the context identifier for this user’s session.

Return Values

Returns the same values as Directory.GetLastSearch.

Directory.AddEntry.saved indicates the entry was successfully saved.

Example

<FORM method=post action=/servlet/webacc>
   <INPUT type="hidden" name="User.context" value="xyz">
   <INPUT type="hidden" name="Compose.id" value="3">
   <INPUT type="hidden" name="action" value="Directory.ModifyEntry">
   <INPUT type="hidden" name="Directory.id" value="Frequent Contacts">
   <INPUT type="input" name="Directory.Item.email"
          value="jDoe.po1.domain1">
   <INPUT type="input" name="firstName" value="John">
   <INPUT type="input" name="lastName" value="Doe">
   <INPUT type="input" name="phone" value="867-5309">
   <INPUT type="input" name="title" value="Sir">
   <INPUT type="hidden" name="Directory.Item.type" value="5">
   <INPUT type="submit" name="submit" value="Modify Entry">
</FORM>