XPath filter to get members from parent group RRS feed

  • Question

  • I have made a custon attribute for Group object. It is a "Parent Group" reference attribute which indicates a parent group. Now I want to create a search scope which shoud return members from the parent group.

    I have tried to create a xpath but without success.

    For example this is not working /Person[ObjectID=/Group/ParentGroup/ExplicitMember] because it returns all the members from all the parent groups instead of the one which is set to current group.

    So basically I need this kind of Xpath:

    Return Users under the parent group which are set in reference attribute in the current group.

    Monday, February 13, 2017 10:11 AM

All replies

  • So to be more precise and simplier.

    /Person[ObjectID=/Group/ParentGroup = "Get parent group id from an reference attribute"/ExplicitMember]

    So the scenario is:

    1. parent group

    2. child group with attribute "parent group" which is reference attribute

    3. want to add members to child group which are defined under the parent group

    4. need xpath search scope which returns members set in parent group

    Tuesday, February 14, 2017 10:35 AM