Re: Delete a user. Please help
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 03/09/05
- Next message: Sue Hoegemeier: "Re: Rights for Access2000 Upsizing-Wizard"
- Previous message: George D. Lake: "Delete a user. Please help"
- In reply to: George D. Lake: "Delete a user. Please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 9 Mar 2005 13:19:32 +0100
Do what the error message say: Remove the users or aliases from the database as listed in the error
message.
If these are users, use sp_dropuser for if it is a SQL Server Login or sp_revokedbaccess if it is a
Windows Login.
If these are aliases (which i think it is, as EM doesn't remove them for you), use sp_dropalias.
The stored procedures I mentioned above are documented in Books Online.
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ "George D. Lake" <NoSpam@bla.com> wrote in message news:eJuY4$JJFHA.3340@TK2MSFTNGP14.phx.gbl... > Hi, > I hve been tring to delete a Login User form SQL 2000 and cant do it > I go to Security, Logins, find the user, right click and delete. > > I then get a option that says "Removing this login will remove all associated database users > (if any)". > I say yes to that and then... > Error 15174: Login 'XXXXXXX' is aliased or mapped to a user in one or more databases- Drop the > user or alisas before dropping the login. > Database name :DB1, DB2, DB·, etc. > > > How can I get past this! > > > Thanks. > George. > >
- Next message: Sue Hoegemeier: "Re: Rights for Access2000 Upsizing-Wizard"
- Previous message: George D. Lake: "Delete a user. Please help"
- In reply to: George D. Lake: "Delete a user. Please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
Loading