Ability to create users by a non-admins user

B

betty

I need to be able to let the current user who is not part of the admins
group create a new user. I have created some code that programmatically
adds the current user to the admins group. Then I want him to be able
to create a new user and then I will remove him from the admins
group.My code successfully adds him to the admins group and then when
trying to have him create the new user I get an error message - "You
do not have the necessary permissions to use the 'Tables' object". When
I look at the user's groups, I have successfully put the current user
who is trying to create the new user into the admins group. Why am I
still getting the permission error when I have put the user into the
admins group? Any suggestions on how to accomplish this task?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top