We have some users that are only supposed to log into Epicor MES, but sometimes log into our regular Epicor which consumes a license. Is there a way to limit a specific user to only log into Epicor MES and not full Epicor?
Thanks!
We have some users that are only supposed to log into Epicor MES, but sometimes log into our regular Epicor which consumes a license. Is there a way to limit a specific user to only log into Epicor MES and not full Epicor?
Thanks!
Welcome @USAHufford !!
If there are no MES licenses available and there are standard ones open, they will consume one.
I have a BPM on Ice.Lib.SessionMod.Login for this.
Note to self, that method might be deprecated…
But the key code is borrowed from this site:
// Thank you Jose: https://www.epiusers.help/t/epicor-license-guids/61669
switch (this.Session.LicenseTypeId.ToString().ToUpper())
{
case "00000003-B615-4300-957B-34956697F040":
MySessionType = "Default";
break;
case "00000003-B8EB-40C4-8897-248CB30C5D47":
MySessionType = "Data Collection";
break;
case "00000003-9439-4B30-A6F4-6D2FD4B9FD0F":
MySessionType = "Web Service";
break;
case "00000003-C071-4FD8-900D-F58EE96BBCCE":
MySessionType = "Enterprise Processing";
break;
case "00000003-94E7-4DCB-BAFD-A6CA7F21AA9B":
MySessionType = "Data Administraion";
//What is this? See Ice.License.SessionTypes.DataAdministration
break;
default:
MySessionType = "Other/Unknown";
break;
}
“Default” is the only license type I get protective of (i.e. block people from it).
I made a security group for Default license users and apply it to the users that (I feel) need it. Then a BPM condition for that.