NotesDirectory
Open the Help in Notes 8 for the LS class NotesSession. Click the method for GetDirectory. Click on the link from there to NotesDirectory.
Read. I'll wait.
...
...
Okay, so that's the new LS directory implementation. "That looks complicated," you're probably saying to yourself. Well, yes, you're right. And severely underdocumented to boot.
BUT... you need to start using it in your applications. So get to know it.
If you write code that looks at NAMES.NSF or notesSession.addressBooks in your apps, you need to start transitioning to the NotesDirectory class. And @NameLookup.
Yes, both of these tools are inadequate to your needs today. No matter. Get to know them. Work with them when you can.
Please believe me -- for reasons I cannot discuss publically, this is very important stuff.
Thanks.
PS: Oh, and the Java version of this too.
Basically, if you currently do anything where you access and view or document in NAMES.NSF on a server for users or groups, you need to quit doing that. And yes, I realize changing that would have ungodly implications. Start thinking about how you're going to deal.




Comments
Posted by Chris Whisonant At 08:50:19 AM On 09/22/2007 | - Website - |
Posted by Erik Brooks At 12:47:04 AM On 09/23/2007 | - Website - |
Just about every custom coding technique anyone uses today on the platform ignores directory assistance. And if it DOES recognize DirAsst, it doesn't recognize LDAP-sources in DirAsst.
That needs to change. LDAP external directories are going to get more popular.
Posted by Nathan T. Freeman At 08:46:11 AM On 09/23/2007 | - Website - |