Permission verification

  • Hi If some user XYZ has asked me permissions to give him access to a AAA database on some PQR server and after doing so how do I verify If I have successfully given him the required permission without asking him if I he able to login into the database ? Any ideas please . The issue here I do not want to get back to the customer to verify , I would like to do it myself !

    thanks!

  • You could use the "EXECUTE AS" statement. It will let you change the execution context of the session.

    EXECUTE AS USER = 'testUser'

    SELECT * FROM dbo.TestTable

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

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