Re: WMI - query AD group membership



Hi Gerry,

thanks for having look at this and sorry about being bit ambiguous in my original post.

- both the machine and user are on a domain
- I need to retreive a list of domain groups the _machine_ is a member of
- I can't use ADSI, only Win32 WMI classes are available

Cheers,

Rad

Gerry Hickman wrote:
Hi,

I'm not sure what you mean. What does "domain group membership for the client" mean? Do you mean group membership of the user who is logged into box x or what?

Are you on an Active Directory domain or not?

If you're on AD, you should be able to use ADSI, if you're not, the title of this message doesn't make much sense to me because it says "AD".

Charlie Root wrote:

Hi all,

is it possible to use Win32 classes to retrieve domain group membership for the client? I guess it's not as i can't find any suitable classes in the reference.

Please not that using other providers such as ADSI doesn't solve my problem - I'm strictly limited to Win32....

Cheers,

Rad



.



Relevant Pages

  • Re: VB .Net Security Question
    ... also got better results once I ensured that it was a WindowsPrincipal object ... serious lag between the time that I make a change in the group membership, ... > is a member of that domain group? ... I can make this code work just ...
    (microsoft.public.dotnet.security)
  • Re: VB .Net Security Question
    ... also got better results once I ensured that it was a WindowsPrincipal object ... serious lag between the time that I make a change in the group membership, ... > is a member of that domain group? ... I can make this code work just ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: LDAP Query
    ... Opposite to most people would think at first thought, group membership ... A compete membership should include ... "normal" domain group ... what groups a specific employee is in. ...
    (microsoft.public.windows.server.active_directory)
  • Re: troubles adding domain group as database role member
    ... question - does the domain group show up as "via group membership" or as ... "Permit" in the Database Access column. ... the database to the domain group using sp_grantdbaccess before then using ... Jasper Smith (SQL Server MVP) ...
    (microsoft.public.sqlserver.security)
  • Re: How to export list of users from each global, domain, local group?
    ... > I just ugpraded to Windows 2K3 AD. ... > from a particular domain group? ... Microsoft MVP Scripting and ADSI ...
    (microsoft.public.windows.server.active_directory)