How to "Connect as" another windows account

  • Greetings,

    I've connected to my SQL 2005 database via a SQL authentication account that has sysadmin rights. However, I am unable to modify any jobs that was created by another sysadmin windows account. How can I after connecting to the database via the SQL account impersonate the connection as teh windows account to be able to modify the jobs?

  • If you are sa you should be able to just change the account..what message does it gives.

    Can you just make the account be your new one.

  • You could start SSMS using 'runas' with the other Windows Account

    Jim

  • I believe that's what I was looking for , thanks!

  • I login as myself (Run As, windows authentication), and I can change SQL jobs owned by others (even sysadmins/sa)

    SQLServerNewbieMCITP: Database Administrator SQL Server 2005
  • Or since you're sysadmin you could just use "EXECUTE AS" once you've made your connection to the server. See BOL here for more info.

    ...though if you're sysadmin it sounds odd that you can't modify a job since sysadmin can do pretty much anything.

    Kendal Van Dyke
    http://kendalvandyke.blogspot.com/[/url]

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

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