This is what worked for me.
script runat="server">
Public Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If DotNetNuke.Security.PortalSecurity.IsInRoles("Administrators") Then
gallery1.ShowUpload = true
gallery1.ShowEditDescription = true
gallery1.ShowHome = true
gallery1.ShowUpload = true
Else
gallery1.ShowUpload = false
gallery1.ShowEditDescription = false
gallery1.ShowHome = false
gallery1.ShowUpload = false
End If
End Sub
< / script>