Search DominoPower's 11,323 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
PROGRAMMING POWER
How to audit your address book: the design
By Mick Moignard

One of my customers asked me a while back to help with some standardization of naming and email addresses. This was prompted in part by the fact that they have several Notes domains and we'd been doing some work on cross-domain addressing. It was also prompted by a company standardization edict to do with name formats and email addresses. To make this task a bit easier, one of the things I did was to write a piece of code to explore the address books and to report entries that seemed to contain unexpected values.

This article is about the resulting project, partly from the point of view of what we were looking for, but more to show the code and to explain how you might want to modify it for use in your environment. If you want a copy of the code, contact me via email, and I'll send it to you. Just remember that the usual disclaimers apply to your use of the code; it's entirely at your own risk. Make a backup of the directory book first, or run on a copy (the code doesn't change directory entries, but we should always use best practice, hey?).

What were the problems we wanted to solve?
The first problem we wanted to solve is the real user's identity. A person's Notes name is kept in two places. One is the master copy, found in the Notes ID file, and the other is in the Person document in the directory. There's nothing in Notes that forces a synchronization of these entries. My name, on my Notes ID file, is Mick Moignard/Group/Unipart, or more correctly, the proper canonical form CN=Mick Moignard/OU=Group/O=Unipart. This should appear as the first entry in the Fullname field in the person record. If it doesn't, there are a variety of things in Notes and companion products that don't work properly.

What my code does, as we will see, is assume that the name in the Owner field--you find this on the Administration tab--actually does represent the name as found on the ID file. This Owner field is set when the person's registration is done, and if AdminP is working properly, is updated if the person's name changes. Notes also expects that the common name part of the ID file is the same as the separate values of firstname, middleinital, and lastname. For a variety of reasons, at this site, they weren't.

There are also company standards on the value for shortname and a new standard for the Internet address. The shortname standard really stemmed from the V4 days when shortname could be used as one of the two options for forming Internet addresses. With R5 came the ability to specify any Internet address value for each person and to have Domino look it up on inbound and outbound mail. What we wanted to do here was detect short names that didn't match the first initial, last name rule as well as those Internet addresses that didn't match company standards. We wanted to get a handle on how big these problems were, so that we could decided how to solve them.


1  ·  2  ·  3  ·  Next »
Other articles you might like
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
DominoPower TV Episode 1: Inside a strategy session with Teamstudio
More about Domino log files
Say goodbye to the Uh-Ohs. Long live the Tens.
Why your log.nsf might not be purging properly
Latest Lotus Headlines
Recommended Maintenance - Lotus Notes Traveler
Here are the slides and other materials from our Lotusphere session
Microsoft OCS awareness in Lotus Connections and Websphere Portal?
SnTT: XPages Blank Calendar Control (Part 2), adding data
Have your Lotus Notes calendar display multiple time zones
Sample Database for Microsoft Office and Lotus Symphony Integration
Symphony 3.0 beta signals another attack on Office
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad: Apple's latest heartbreaker
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Running auto-respond rules when Outlook is closed
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login