Files
b2bcondomini.it/PUB/SitePBO.master.cs
T
Samuele E. Locatelli 0ddb3b9aa5 fix selezione condomini
2018-08-14 17:28:16 +02:00

25 lines
610 B
C#

using Data;
using SteamWare;
using System;
using System.Web.UI;
namespace PUB
{
public partial class SitePBO : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
memLayer.ML.setSessionVal("ER_EditMode", ER_EditMode.mPBO);
bool userAuth = devicesAuthProxy.stObj.userHasRight("PBO");
// se ha permesso --> salvo KEY di riferimento...
if (userAuth)
{
memLayer.ML.setSessionVal("idxAmm", "0");
memLayer.ML.setSessionVal("idxFornitore", "0");
}
}
}
}
}