Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine User Permissions for Table Obj (Select/Update/Insert/Delete)

Status
Not open for further replies.

smedvid

MIS
May 28, 1999
1,228
US
I have a need to review User permissions for a specific table to determine if I can enable UI buttons for Insert/Update/Delete... I have reviewed some T-SQL Call options online but they seem overly complex.

My desire is to pass in a User Name and Table Name to a function and see if they have Insert/Update/Delete or any combination then enable buttons on UI accordingly.

Example "EXEC SomeFX 'domain1\smed345','dbo.tbl_VVL_States'

All network users will be members of one or more DB Roles! If that helps. And, DB Roles will have object permissions for Select/Delete/Exec/etc...

This should be simple imho... or am I missing something?

Thanks In Advance!


Steve Medvid
IT Consultant & Web Master
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top