Automatically adding to 'everyone' group

Posted on 2004-10-21
Last Modified: 2013-12-18

Forgive the simple question (if it is one).

How do I configure domino (5.0.11) to automatically add a user to a group when the user is registered? I've trawled through the help, and browsed through things like the setup profiles, seeing if its done there, but I cant see a simple way.

The same applies in reverse - is there a way to remove someone from this list when their account is deleted?

Could someone please guide me in the right direction? Thanks!


Question by:rossdagley
    LVL 19

    Expert Comment

    You can do it programmatically by modifying the design of your NAB.

    You can write an agent in your NAB that runs on "Creation of a new document". When this agent is fired, it will automatically add the Name in the ContextDocument to the group(s) you want.

    The same logic can be used for deletion. Write a handler in the Querydocumentdelete event in the Database scripts section. Add the code to remove the user name from the group(s). YOu are done.
    LVL 15

    Accepted Solution

    This is configured 'automatically' in the Registration process (registering a new user).

    If you set it once (when registering a new person), it will remain there for the next you register.  The registration queue is something that's stored locally, so it's possible to edit the documents in this database to make this change 'permanent' on your workstation.  There is an application in the sandbox ( that will help you do this .  Search for "registration".
    What this does, is work on the userreg.nsf database (local, on your workstation).  You can also just modify the design of the New User form, so that the GroupNames field contains the group "Everyone" by default.

    No need to manually or programmatically remove people from groups !  You just have to make sure you use the 'Delete person' button (and not simply delete the persondocument from names.nsf).  The Adminp process takes care of this.

    But on a more general note, it's better to use groups in the Everyone group.  The trick is to create a 'tree' of groups, and that groups you will put (fixed) in the Everyone group.  Now simply add users to the bottom-most groups in the tree, and they are automatically in the Everyone group too.  This is a lot easier to handle.  An example may clarify this.  Let's say you have 3 departments (A, B C), now create 3 groups (A,B,C) and put those in the Everyone group.  During registration of the new user, you will put him in the right group, depending on what department ("A") he is in.  Now he will automatically also be in the Everyone group (thru  the group A he is in)...  You can make this tree as long as you want eg. : user -> team -> department -> country -> 'Everyone'


    LVL 1

    Author Comment

    Thank you. A throughly informative answer, and exactly what I was looking for. I didn't want to have to design something, as I'm pretty new to notes admin - I just needed a simple point and click thing that took the leg work out of things!

    Spot on. Thanks again.

    LVL 15

    Expert Comment

    You're welcome :-)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    Validating Email Address 13 260
    Lotus notes 3 277
    names.nsf ODS upgrade 4 371
    Mobile Iron iphone stop receiving new mails 6 1,029
    For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
    For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    857 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now