x

CREATE USER ISSUES

What are the advantages and disadvantages of using these kinds of logins.

   CREATE USER [ABC] WITHOUT LOGIN WITH DEFAULT_SCHEMA=[ABC]
   GO

Any help is appreciated.

more ▼

asked Apr 27, 2010 at 02:51 PM in Default

avatar image

Katie 1
1.4k 132 164 205

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

You might create this kind of user as part of standardizing an application.

You create a MyApp user that isn't tied to a login and grant it permissions in a database. You can then impersonate this user from a different login.

more ▼

answered Apr 27, 2010 at 03:23 PM

avatar image

Blackhawk-17
12k 30 35 42

Thank you Black hawk. I have not seen this kind of login previously, but is it safe to move with these users to production and test environments. The moment i create this user.. the default access its getting is DBO. soo wondering if i should advice to create such kind of logins.

Apr 27, 2010 at 03:44 PM Katie 1

Any created user will use the DBO schema if none is defined for them in the create user statement.

Apr 27, 2010 at 05:12 PM Blackhawk-17
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x2091
x131
x103

asked: Apr 27, 2010 at 02:51 PM

Seen: 1224 times

Last Updated: Apr 27, 2010 at 02:51 PM

Copyright 2016 Redgate Software. Privacy Policy