Re: WMI - query AD group membership



Thanks James,

trouble is the WMI query expression needs to go into a framework product which then executes it on a remote client. The framework intermediate lanaguage only allows the use of Win32 classes. If I was given the choice I would've used ADSI and never posted here!!! :D

So that's back to square one - any ideas if there's a way how to get this information using WMI. It would also work if I was able to parse from some other place (registry or config file) but afaik there isn't place like this anywhere on the machine.

Rad

James Crosswell wrote:
Charlie Root wrote:

- I can't use ADSI, only Win32 WMI classes are available


What kind of programming language are you using?

You REALLY should use ADSI for this - WMI sucks at Active Directory stuff (I've had info that took over an hour to fetch using WMI that was obtained in around 6 seconds via ADSI). Seriously, use the tool for the job and if your current programming language doesn't let you get at ADSI then I'd recommend you use another one.

.



Relevant Pages

  • Re: Restrict use of AMI, ADSI and WScript.Shell
    ... but moved to system32\inetsrv for IIS 6. ... >> I'm not certain if ADSI has anything comparable to WMI, ... >> users to access all of the IIS:// ADSI namespace. ... >> This allows me to restrict access to files between different webs. ...
    (microsoft.public.inetserver.iis)
  • Re: Programmatically accessing individual file security configuration
    ... There is a way to do this with ADSI, WMI and even some ... Use your favorite technology to set metabase properties you need. ... Double click the server name to expand the server web sites. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Restrict use of AMI, ADSI and WScript.Shell
    ... Can't use Filesystem ACL to allow one users to create ... I'm not certain if ADSI has anything comparable to WMI, ... Hi, I would appreciate any tips on restricting WMI, ADSI, and WScript.Shell ...
    (microsoft.public.inetserver.iis)
  • Re: Batch file for installs before wsh
    ... > versions of WSH, WMI, ADSI and VBScript before calling the main WSF file we ... Just install WSH 5.6 and create a flag file so you only do it once ... For Win95, you will need to install WSH 5.5, or downgrade Wshom.ocx: ...
    (microsoft.public.scripting.wsh)
  • Re: IIS-Control für Verwaltung
    ... ADSI und WMI verfolgen unterschiedliche Ansätze - ADSI für die ... Was die Verwaltung Deiner Website angeht kann ich im Moment keine Empfehlung ... In der ADSI Struktur ist u.a der IIS zu finden. ...
    (microsoft.public.de.german.entwickler.dotnet.vb)