x
login about faq Site discussion (meta-askssc)

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 '10 at 02:51 PM in Default

Katie 1 gravatar image

Katie 1
1.4k 108 161 202

(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 '10 at 03:23 PM

Blackhawk-17 gravatar image

Blackhawk-17
10.5k 23 29 34

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 '10 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 '10 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



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1601
x119
x73

asked: Apr 27 '10 at 02:51 PM

Seen: 677 times

Last Updated: Apr 27 '10 at 02:51 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.