Derma Menus

Hi, i’m makign a derma menu for my server with mutiple tabs and i want to make one tab that anyone can accsess and another that is only available to admins, the only way i could think to do this is
if ply:IsAdmin() then
// admin tab
But i i don’t know how to get who pressed the button, so i can’t use ply. Is there a way to use ply or is there a totaly different way to contol who accesses tabs?

Clientside you can use LocalPlayer() to get the client.