jaredpar's WebLog

Code, rants and ramblings of a programmer.

Browse by Tags

Tagged Content List
  • Blog Post: Detecting if you are an Admin

    This came up on an internal alias. A customer wanted to know how to determine if there were running as an admin in a tool. Below is a sample program that will print out whether or not you are the machine admin or a member of the machine administrators group. This is essentially the same as the code in...
  • Blog Post: Determining if you're an Administrator from Powershell

    Here's a handy PowerShell function I used to determine if I'm currently running as an Administrator in PowerShell # Determine if I am running as an Admin function AmIAdmin() { $ident = [Security.Principal.WindowsIdentity]::GetCurrent() foreach ( $groupIdent in $ident.Groups ) { if ( $groupIdent.IsValidTargetType...
  • Blog Post: LUA + MSI + Luanch program now on Vista

    I'm a huge fan of the LUA support in Vista. It has it's quirks but it's a major step forward for Windows programming. As a former *nix guy I've had to run LUA the hard way before Vista. The support in Vista is tons better than it used to be. There are a few areas that are still not optimal. One of...
  • Blog Post: Myth: Creating web applications with Visual Studio requires Admin privileges

    As you can imagine, working on the Whitehorse team, I generate a lot of web applications in a given day. I also run with an LUA account on my developer boxes. Even internally, I am constantly amazed by the number of people who believe that you must have Administrative rights to create a web application...
Page 1 of 1 (4 items)