troubleshooting Question

Validating members in a group

Avatar of notesrookie
notesrookieFlag for United States of America asked on
Lotus IBM
7 Comments2 Solutions298 ViewsLast Modified:
Most learned experts,

I have a user that would like to be able to create a group (not in the address book) where they can add users but would like to have a scheduled agent validate these users every night. This agent would check against another database to see if each user in this group exists. If they exist, do nothing, if they don't then delete the user.

I was thinking of using the following logic:
- get document with group in current db
- get field with group members, A
- loop through each member
- check against the other db
- if exist copy to another field in current db, B
- if not skip to next member
- after all members have been checked, copy B to A
- save document

I was looking through the LS help and did not see anything that looked like it would delete a member of a list. Please let me know if I am way off base or if you have a sample snippet I can look at. Thank you.

I am awarding 400 points for the accepted answer
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros