SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


user permission


user permission

Author
Message
arkiboys
arkiboys
Say Hey Kid
Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)

Group: General Forum Members
Points: 694 Visits: 264
Hi,
Here is the database settings:
There is domainName\users unders security\ logins.
db_owner is NOT checked for database1
Then I go to database1, security\users.
I only see users. Notice that it is not domainName\users. It is just users
Question:
Why is it that the db_owner is checked but greyed out in the general tab ?
db_owner should not be checked.
Any thoughts please?
Thanks
SQLSACT
SQLSACT
SSCarpal Tunnel
SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)

Group: General Forum Members
Points: 4702 Visits: 2969
arkiboys (11/27/2012)
Hi,
Here is the database settings:
There is domainName\users unders security\ logins.
db_owner is NOT checked for database1
Then I go to database1, security\users.
I only see users. Notice that it is not domainName\users. It is just users
Question:
Why is it that the db_owner is checked but greyed out in the general tab ?
db_owner should not be checked.
Any thoughts please?
Thanks


The Login is probably the owner of the database and therefore doesn't show up under database users

What is the output of this:
sp_helpdb 'database_name'


arkiboys
arkiboys
Say Hey Kid
Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)

Group: General Forum Members
Points: 694 Visits: 264
SQLSACT (11/27/2012)
arkiboys (11/27/2012)
Hi,
Here is the database settings:
There is domainName\users unders security\ logins.
db_owner is NOT checked for database1
Then I go to database1, security\users.
I only see users. Notice that it is not domainName\users. It is just users
Question:
Why is it that the db_owner is checked but greyed out in the general tab ?
db_owner should not be checked.
Any thoughts please?
Thanks


The Login is probably the owner of the database and therefore doesn't show up under database users

What is the output of this:
sp_helpdb 'database_name'




The owner is administrator
Lowell
Lowell
SSC Guru
SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)

Group: General Forum Members
Points: 68134 Visits: 40898
i believe if a login belongs to the sysadmin group, and you create a user for the login in any database, the db)owner checkbox gets inherited as readonly ; that's what you are seeing, i think.

can you check the login and see if it is a sysadmin?

also check to see if the windows group is sysadmin, and since the user belongs to that group, it's the same effective permissions.

Lowell
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
arkiboys
arkiboys
Say Hey Kid
Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)

Group: General Forum Members
Points: 694 Visits: 264
Lowell (11/27/2012)
i believe if a login belongs to the sysadmin group, and you create a user for the login in any database, the db)owner checkbox gets inherited as readonly ; that's what you are seeing, i think.

can you check the login and see if it is a sysadmin?

I checked and it is NOT a member of sysadmin
John Mitchell-245523
John Mitchell-245523
SSC-Dedicated
SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)

Group: General Forum Members
Points: 33053 Visits: 16637
Maybe you have an orphaned user. If you look at the properties of the user, what does it say next to Login name? If it's blank, try dropping the user and recreating it from the login.

John
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search