Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 drop user failed

Author  Topic 

raghuveer125
Constraint Violating Yak Guru

285 Posts

Posted - 2011-07-13 : 06:44:08
Hi,

When i am run this query

Drop user [Domain\user]

I am getting this error

Msg 15173, Level 16, State 1, Line 1
Login 'Domain\user' has granted one or more permission(s). Revoke the permission(s) before dropping the login.


This is windows authentication


In Love... With Me!

steve_r18
Yak Posting Veteran

59 Posts

Posted - 2011-07-19 : 10:21:33
Make sure that this user isn't the sole DBowner or any other specific permissions within an existing DB. You can also utilize the security feature on each DB or the entire SQL install to remove any specific user.
(ie. check for the existing permissions for this user)

Check out this link if you need more detailed clarification. I have dealt with this before.

http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/e8082465-0a26-477d-91ae-3f0d53d3be4d/

Steve
Go to Top of Page
   

- Advertisement -