Re: Execute SQL commands in context of another active connection or howto IS_MEMBER for another connected user?
From: Dan Guzman (danguzman_at_nospam-earthlink.net)
Date: 04/29/04
- Next message: Kevin McDonnell [MSFT]: "RE: SQL Server Client Network Utility"
- Previous message: joe: "Re: Granting EXEC to all my user sprocs in one hit"
- In reply to: Max: "Execute SQL commands in context of another active connection or howto IS_MEMBER for another connected user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 Apr 2004 19:44:03 -0500
> Is it possible to execute SQL commands under another active connection.
None that I know of.
> Partly, I interested to get FULL functionality of IS_MEMBER function for
another connected user. I want from my connection to get EXACTLY the same
resault that another user can see runnig IS_MEMBER function, even if there
will be nested SQL roles, nested Windows groups and dbo users. Is it
possible?
A sysadmin role member can execute a SETUSER command to set the security
context of the current connection to the specified login. I haven't tried
this with complex Windows groups/nested role configurations but this might
provide the functionality you want.
-- Hope this helps. Dan Guzman SQL Server MVP "Max" <anonymous@discussions.microsoft.com> wrote in message news:B0303018-1734-4099-8874-AC77292FDB11@microsoft.com... > Is it possible to execute SQL commands under another active connection. > > I'm connected to SQL server, and want to execute some commands under another connected user connection. If it possible, which previleges I must have to do this. > > Partly, I interested to get FULL functionality of IS_MEMBER function for another connected user. I want from my connection to get EXACTLY the same resault that another user can see runnig IS_MEMBER function, even if there will be nested SQL roles, nested Windows groups and dbo users. Is it possible? >
- Next message: Kevin McDonnell [MSFT]: "RE: SQL Server Client Network Utility"
- Previous message: joe: "Re: Granting EXEC to all my user sprocs in one hit"
- In reply to: Max: "Execute SQL commands in context of another active connection or howto IS_MEMBER for another connected user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|