ACC: How to Add a User to a Group with CreateUser MethodLast reviewed: January 22, 1998Article ID: Q112063 |
The information in this article applies to:
SUMMARYAdvanced: Requires expert coding, interoperability, and multiuser skills. To add a user to an existing group with code, you must use the CreateUser method twice: once to create the new user for that Microsoft Access session, and again to create the user for the group. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual. NOTE: Visual Basic for Applications is called Access Basic in Microsoft Access version 2.0. For more information about Access Basic, please refer to the "Building Applications with Microsoft Access 2.0" manual.
MORE INFORMATIONThe following sample function called CUser() demonstrates how to create a user named MyName for the Users group:
REFERENCESFor more information about the CreateUser method, search the Help Index for "CreateUser" or ask the Microsoft Access 97 Office Assistant. Keywords : kbprg PgmObj ScrtUsr Version : 2.0 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |