Novell Home

Lotus Notes Driver Tip

Novell Cool Solutions: Tip
By Perry Nuffer

Digg This - Slashdot This

Posted: 15 Dec 2005
 

Problem

A reader asked the following question:

By default, when the Lotus Notes Driver registers users, the new users are given a Notes client license field of 'Lotus Notes'. If I need the newly registered user to have a Notes client license of 'Lotus Notes Mail', 'Lotus Notes Desktop', 'Lotus Notes Designer', or 'Lotus Notes Administration', how can the Notes Driver accomplish this?

Solution

Here's a tip from Novell's Perry Nuffer ...


The Notes client license field is identified within the Notes Address Book (NAB) names.nsf file as 'ClientType'. The Notes Administrator client can set the following values for this field:

  • 0 - Lotus Notes
  • 1 - Lotus Notes Mail
  • 2 - Lotus Notes Desktop
  • 3 - Lotus Notes Designer
  • 4 - Lotus Notes Administrator

If the field has multiple values, then multiple license types are indicated by the user interface. If a ClientType field value is applied by the NotesDriver (via policy), then the newly added user would have whatever license type the Notes Driver policy dictated.

Below is a sample subscriber channel policy that inserts a Lotus Notes Administration Client License field value (4) if a newly added user has a 'Title' attribute containing the value of 'Administrator':

<rule>
  <description>Add Notes Client License Field: Administrator</description>
    <conditions>
      <and>
        <if-class-name op="equal">User</if-class-name>
        <if-operation op="equal">add</if-operation>
        <if-op-attr name="Title" op="equal">Administrator</if-op-attr>
      </and>
    </conditions>
    <actions>
      <do-add-dest-attr-value class-name="User" name="ClientType">
        <arg-value type="string">
          <token-text xml:space="preserve">4</token-text>
        </arg-value>
      </do-add-dest-attr-value>
    </actions>
</rule>


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell