Files

15 lines
327 B
C#

using SteamWare;
using System;
namespace PUB.PAM
{
public partial class MyHome : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
bool userAuth = devicesAuthProxy.stObj.userHasRight("PAM");
divButtons.Visible = userAuth;
divAuthError.Visible = !userAuth;
}
}
}