Solved

permissions problem

Posted on 2001-08-16
6
646 Views
Last Modified: 2007-12-19
Using sql server 7

I have a user x whoes login name is x
who has permissions of
public,db_owner,db_accessadmin,db_securityadmin

It seems that only the sa account can call the sp_addlogin,sp_adduser.

Is there anyway I can give permissions to my account x to do this

TIA
0
Comment
Question by:deestuar
6 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 6392086
connect to your server with the account sa, and execute the following script:
USE MASTER
GRANT EXECUTE ON sp_addlogin TO x
GRANT EXECUTE ON sp_adduser TO x

CHeers
0
 
LVL 1

Author Comment

by:deestuar
ID: 6392718
I still get
User does not have permission to perform this action.
on sp_Addlogin
when I switch to another database and try and add users

0
 
LVL 18

Accepted Solution

by:
nigelrivett earned 50 total points
ID: 6433137
only members of sysadmin and securityadmin roles can execute this so you would have to put your user in one of these groups.
That's the server role not the database role you have put it in the database role.
0
 

Expert Comment

by:CleanupPing
ID: 9281792
deestuar:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 9807326
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Award points to nigelrivett

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Anthony
EE Cleanup Volunteer
0

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

Join & Write a Comment

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

747 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

11 Experts available now in Live!

Get 1:1 Help Now