Assign Database Roles

  • How can I assign multiple database roles to an existing database user? Please help.

    Thank you in advance.

  • In EM, expand the database and the users, right-click on the user, select properties and then just check each role that you want assigned.


    Cheers,
    - Mark

  • For adding multiple db role to user, use procedure as

    sp_addrolemember @rolename,@membername

    Eg.

    sp_addrolemember 'db_datawriter','membername'

    Sachin Bhaygude


    Sachin Bhaygude

  • Thanks. I guess I will have to issue the sp_addrolemember statement multiple times.

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

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