Browse by Tags

All Tags » C# » ASP.NET » .NET (RSS)

ASP.NET - Ispod haube by Paki

Nakon predavanja koje sam održao na WebFfu 2007 bilo je dosta zainteresovanih za primere, tako da sam postavio zip arhivu koja sadrži sve primere i slide deck predavanja. Pozdrav!
Filed under: , , ,

How to check if current user is in local admins security group by Paki

You can check whether current user belongs to Local Admin Group like this 1. Get reference to current WindowsIdentity WindowsIdentity wi = WindowsIdentity.GetCurrent(); 2. Create WindowsPrincipal using current windows identity WindowsPrincipal wp = new...
Filed under: , ,
Powered by Community Server (Commercial Edition), by Telligent Systems