Sun Java System Instant Messaging 7.2 Administration Guide

ProcedureTo Customize User Name Display in Search Results

  1. Extract the files from imbrand.jar.

    See Table 15–1 for default locations for imbrand.jar

  2. Change to the following directory:

    com/sun/im/client/

  3. Open brand.properties.

  4. Add the dialogs.searchresults.format attribute to the file.

  5. Add the attributes you want to include in search results in the following format:

    ${attr:attribute-name}

    Where attribute-name is the name of the LDAP attribute.

    For example, to include the title attribute, add the following line:

    dialogs.searchresults.format=(${attr:title})

  6. Save your changes and close the file.

  7. Repackage imbrand.jar.

  8. Add the user attributes to iim.conf.

    Specify the attributes as values for the iim_ldap.userattributes parameter. Separate multiple attributes with a comma, for example:

    iim_ldap.userattributes=title,department,telephonenumber

    See iim.conf File Syntax for instructions on locating and modifying iim.conf.