I need to know in which all SQL ACLs my Windows ID has been added to?
Asked
Active
Viewed 222 times
-1
-
SQL Server doesn't have ACLs in the file system sense. Need to explain more about what you're trying to do... – gbn Jun 27 '11 at 16:33
1 Answers
0
Note sure what you're asking... but here are some pointers:
sys.login_token
will show all the SIDs in your login token (Windows and SQL SIDs alike)sys.fn_my_permissions
will show all effective permissions you haveHAS_PERM_BY_NAME
will tell if you have or not a specific permission

Remus Rusanu
- 288,378
- 40
- 442
- 569