Thanks in advance.
--
_|___/v\___|_ ////
-====(~)=(.*.)=(~)====- o o
`-' o00___(_)___00o
==================================================|
| http://splinter.coe.neu.edu/~rtull/index.html |
| rtul...@lynx.dac.neu.edu |
Http://splinter.coe.neu.edu/~rtull/resume.html
| |
==================================================|
|"Knowledge may be the key" |
|"But wisdom unlocks the door" |
==================================================|
Take a look at the design of the Address book. There are a bunch of
hidden views which are designed for lookups. One such view is
($NamesFieldLookup), which contains Person, Group, and Server documents
-- I'm sure there is one containing just groups.
If you don't have access to the public address book (NAMES.NSF), create
a temporary database on your computer which inherits its design from the
Public Name & Address book on the server.
Kevin Olsen
kevin...@att.com
@IsMember( @UserName; @DbLookup("":"NoCache"; rep_id_of_your_nab;
"Groups"; name_of_the_group_you_want; "members"))
Don't assume you can just cut and paste that line but the what you're
doing is checking to see if the user is a member of the Group you're
interested in...
--
-------------------------------------------------------------------
Tom Faulkner BBS Consultants, Inc.
mailto: tfau...@bbsci.com http://www.bbsci.com
Lotus Notes Application Development
-------------------------------------------------------------------
How do you deal with cascading groups (i.e. a group of groups)? Is the
only way to write a recursive Lotus Script function?
Tom Faulkner <tfau...@ibm.net> wrote:
>> renrick tulloch wrote:
>> I would like to be able to lookup a group on the server and get the
>> entries.
>>
If you know how many groups, I'd probably still do it in script. But,
if you have to look up the first group to get an unknown number of
groups,
Sript is the way to go.