user permission

  • 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

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

  • 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

  • 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!

  • 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

  • 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

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply