Article

pnuffer's picture
article
Reads:

3577

Score:
2
2
1
 
Comments:

0

Lotus Notes Driver Tip

Author Info

15 December 2005 - 2:16am
Submitted by: pnuffer

(View Disclaimer)

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>


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell