With respect, there's a weeny problem here. Manipulating Users and Groups with
code is a very sophisticated thing to do. You're supposed to wear a Tuxedo to
a party like that! Most apps just don't need to do anything like it.
I appreciate your enthusiasm, but this is now into general Access programming
and we could go on forever. If you're just experimenting/learning, why start
off at the deepest end?
I can't tell you where to place the code. The original faq was written as a
function, meaning it's a piece of code that can be called from other code
(such as my last one). Where you place my last one is anywhere you like. For
instance, create a new form, place a command button on it, and place it in the
code for the command button. That's how I'd test-run code in a very simple
way.
Chris