users, roles, sp_addlogin and grant question

  • User permissions question:-

    If I create a user, user1, with sp_addlogin, 'user1', pswd', 'defdb', and then add them to database 'defdb' with sp_adduser, then grant all to user1, does this user have any server level rights? I'm not clear on the difference between object rights and statement privileges. I read the BOL and some other resources, but ended up more confused. Anyone have an idiot-proof way of explaining?

     

    Thanks.

  • This was removed by the editor as SPAM

  • Grant all I believe just grants them to all objects and you still have to specify the permission.

    I think ALL is a bad idea. It would be better to script out objects, setup a role, and then grant the right to a role and add the user to a role.

Viewing 3 posts - 1 through 2 (of 2 total)

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