you can try something like this
for a grid view which is
<asp:Button ID="btnDel" Text ="Delete" ImageUrl ="images/green_down_15_10.bmp" CommandArgument='<%# Eval("ItemID")%>' CommandName ="Delete"
ToolTip="Delete" Enabled ="True" runat="server" >
in the code behind you have the set of user in the datatable who can have the delete rights and loop through it:
boolean deleteenable = true;
if(dtUserhavingrights.select("User = logged on user").length >0)
deleteenable = true;
deleteenable = false;
for each GridviewRow gvr in mygridview.rows
btn = (Btton)gvr.findcontrol("btnDel")
Please feel free to ask if you have any questions.