Created
November 9, 2022 13:13
-
-
Save carloswm85/e95e265c9bf96e081229be9ec333a535 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Session["IdSesion"] = oExchangeData.IdSesion; | |
Session["NombreUsuario"] = oExchangeData.Nombre; | |
Session["IdUsuario"] = oExchangeData.IdUsuario; | |
Session["IdEmpresa"] = oExchangeData.Empresa; | |
int idSesion = Int32.Parse(Request["IdSesion"]); | |
System.Collections.ObjectModel.Collection<MiningGuide.Web.WebServicesAccessMiningPortal.Permisos> ListPermisos = oServicio.obtainModulosPermisosBySession(idSesion, 16); | |
List<int> ListaPermisos = new List<int>(); | |
foreach (MiningGuide.Web.WebServicesAccessMiningPortal.Permisos oPermiso in ListPermisos) | |
ListaPermisos.Add(oPermiso.IdModulo); | |
HttpContext.Session["ListaPermisos"] = ListaPermisos; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment