Forum Topic

Thanks for your participation and contribution.


Back to SQL Server

Impersonate User and List User Permissions

Post a reply
2295 views
i90runner1
i90runner1

Impersonate User and List User Permissions

EXECUTE AS USER = 'webguest-emh-dp-ok-dev'
SELECT CURRENT_USER
SELECT * FROM fn_my_permissions (NULL, 'DATABASE');  
REVERT
GO 

SELECT CURRENT_USER

Last updated

1-1 of 1

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.