LotusScript to C API Programming Guide

rtLib Domino Rich Text Management template
Home
Show details for ContentContent
Purchase
Ready-to-use samples
Show details for Online resourcesOnline resources
Forum
Links
Happy readers

Anonymous

login


 

Hosted by Prominic.NET, Inc.
Main topic: Roles for User different than current user

Roles for User different than current user (by Normunds Kalnberzins, 03/10/2007 01:55:17 PM)

thanks, I'm glad you like the book.

As for your current problem -- it seems NSFBuildNamesList works this way (using the local address book), so if you want to use groups from the server you should run the code on server. Maybe by using agent.runOnServer (?); or finally provided your organization is not very large you could build a script to resolve each time the user against the address book (walk all groups, get membership etc.). For big address books and running the code each time per user it maybe quite heavy. If you could cache the group resolution results (say in a temporary document), resolving groups once per several users could probably be acceptable.

Probably you already thought about these alternatives yourself, but frankly I have no idea what else you could do.