Torna al Thread

dim strRuolo as string = 'carica dati da db 'Imposta il nuovo utente passando l'array di un solo elemento HttpContext.Current.User = new System.Security.Principal.GenericPrincipal(id,new String() { strRuolo });
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5