my webusercontrol has a series of buttons that direct user to other pages.

what i'm trying to do is limit the number of buttons on the webusercontrol depending on a users security level. any ideas?


ie.

If Session("ULevel") = 2 Then

'only show button.one and button.two

end if