Retreive nested groups - InfoPath Dev
in

InfoPath Dev

Retreive nested groups

Last post 12-02-2013 05:36 AM by Marzipan. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-05-2013 05:30 AM

    Retreive nested groups

    When you get members of a group you can flag the query to retrieve nested members, i.e. members of groups nested in the group you are expanding. Is there a way to return the groups themselves, i.e. w/o members. Is there a way to identify at what level the nested group exist or it's parent group?
  • 12-02-2013 12:38 AM In reply to

    Hello Marzipan,

    Thank you for your continuous interest in our products! :)

    The ADWS GetMembersOfGroup method indeed only returns the members of a specified group. I think that you may be able to accomplish returning all the groups by creating a dummy user account in Active Directory and adding that user to all of your groups. After doing this, you can then use the GetGroupsForUser method specifying that user's alias in the query.

    Hope that works for you.

    Mel Clemente
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 12-02-2013 05:36 AM In reply to

    I do not need to enumerate all group in the Active Directory but all groups within a parent group.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.