Hi

I am getting COMException with a message like "cant find group by that
name" (I am not sure of the exact formulation since I am using swedish
locale) on the following 2 lines of code:


            DirectoryEntry localMachine = new
DirectoryEntry("WinNT://" + Environment.MachineName + ",Computer");
            DirectoryEntry admGroup =
localMachine.Children.Find("Administrators", "group");


Does anyone know why?

Reply via email to