Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dblookup on names.nsf and groups how?

127 views
Skip to first unread message

renrick tulloch

unread,
Apr 16, 1997, 3:00:00 AM4/16/97
to

I would like to be able to lookup a group on the server and get the
entries. If those users aren't in the group they can't approve a
request. Does anyone know how to get this to work (Or is thier an
easier way)

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" |
==================================================|


Kevin Olsen

unread,
Apr 18, 1997, 3:00:00 AM4/18/97
to

renrick tulloch wrote:
>
> I would like to be able to lookup a group on the server and get the
> entries. If those users aren't in the group they can't approve a
> request. Does anyone know how to get this to work (Or is thier an
> easier way)
>
> Thanks in advance.
>
> --

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

Tom Faulkner

unread,
May 1, 1997, 3:00:00 AM5/1/97
to Kevin Olsen

> renrick tulloch wrote:
>
> I would like to be able to lookup a group on the server and get the
> entries. If those users aren't in the group they can't approve a
> request. Does anyone know how to get this to work (Or is thier an
> easier way)
>

@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
-------------------------------------------------------------------

Kestral Computing Pty Ltd

unread,
May 2, 1997, 3:00:00 AM5/2/97
to


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.
>>

Tom Faulkner

unread,
May 3, 1997, 3:00:00 AM5/3/97
to Kestral Computing Pty Ltd

Kestral Computing Pty Ltd wrote:
>
> How do you deal with cascading groups (i.e. a group of groups)? Is the
> only way to write a recursive Lotus Script function?
>

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.

0 new messages