﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 7,2000 / Security  / Add new user in SQL server 2000/2005 through script / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 07:16:46 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Add new user in SQL server 2000/2005 through script</title><link>http://www.sqlservercentral.com/Forums/Topic1247799-6-1.aspx</link><description>To create a database user account for an existing login, sp_grantdbaccess @loginname = 'loginname'</description><pubDate>Tue, 10 Jul 2012 23:57:15 GMT</pubDate><dc:creator>mmartin1</dc:creator></item><item><title>RE: Add new user in SQL server 2000/2005 through script</title><link>http://www.sqlservercentral.com/Forums/Topic1247799-6-1.aspx</link><description>Conceptually both are same.Login lets you connects to the serverand User has the permissions inside the database.Only difference is in 2000 the user and schema are clubbed.In 2005 they are independent</description><pubDate>Mon, 09 Jul 2012 03:14:21 GMT</pubDate><dc:creator>joeroshan</dc:creator></item><item><title>RE: Add new user in SQL server 2000/2005 through script</title><link>http://www.sqlservercentral.com/Forums/Topic1247799-6-1.aspx</link><description>what is the difference between 2000 user and 2005 user ?thanks in advancesri</description><pubDate>Mon, 09 Jul 2012 03:00:33 GMT</pubDate><dc:creator>sermohan-1082835</dc:creator></item><item><title>RE: Add new user in SQL server 2000/2005 through script</title><link>http://www.sqlservercentral.com/Forums/Topic1247799-6-1.aspx</link><description>[quote][b]sumitagarwal781 (2/6/2012)[/b][hr]Thanks a lot</description><pubDate>Mon, 06 Feb 2012 22:58:19 GMT</pubDate><dc:creator>ssa2010</dc:creator></item><item><title>RE: Add new user in SQL server 2000/2005 through script</title><link>http://www.sqlservercentral.com/Forums/Topic1247799-6-1.aspx</link><description>Here is the command for adding user on SQL server 2000/2005--2000exec sp_addlogin @loginame='NewLoginName',     @passwd='The Password',    @defdb='Default Database Name',  --Optional    @deflanguage='Language'  --Optionalexec sp_adduser @loginame='NewLoginName',     @name_in_db='NewUserName',--2005CREATE LOGIN NewLoginName    WITH PASSWORD = 'The Password';USE AdventureWorks2008R2;CREATE USER NewLoginName FOR LOGIN NewLoginName;GO</description><pubDate>Mon, 06 Feb 2012 22:06:55 GMT</pubDate><dc:creator>sumitagarwal781</dc:creator></item><item><title>Add new user in SQL server 2000/2005 through script</title><link>http://www.sqlservercentral.com/Forums/Topic1247799-6-1.aspx</link><description>Hello friends,Is there any way to add a new db user in sql 2000/2005 through script ?If yes please provide this sample script..</description><pubDate>Mon, 06 Feb 2012 21:37:02 GMT</pubDate><dc:creator>ssa2010</dc:creator></item></channel></rss>