Group criteria xPath to get multiple object types as members

This controls the membership of my groups. With this xPath, the members are the Groups.

/Group[PARENT_ORGANISATIONS_ID = '750547d8-8147-4c74-85b1-c1ec2bded963']

I also need the membership of my group to contain users.

/Person[Description= 'Constant']

So what i need, is the entire xPath where both groups and users are contained.

This is not correct, but this is what i wan't to do.
[(/Group[PARENT_ORGANISATIONS_ID = '750547d8-8147-4c74-85b1-c1ec2bded963']) or (/Person[Description= 'Constant'])]

any poin

June 27th, 2013 3:55pm

Hi Frederik,

You will need to search all objects for those criteria; FIM does not seem to like different object types defined in an XPATH filter.  So, your filter would look something like this:

/*[(PARENT_ORGANISATIONS_ID = '750547d8-8147-4c74-85b1-c1ec2bded963') or (Description= 'Constant')]

Cheers,

Marc

Free Windows Admin Tool Kit Click here and download it now
June 27th, 2013 7:12pm

Frederik,

Try using the pipe symbol | -- it functions kind of like the union operator in SQL queries.

/Group[PARENT_ORGANISATIONS_ID = '750547d8-8147-4c74-85b1-c1ec2bded963'] | /Person[Description= 'Constant']

June 27th, 2013 7:43pm

Fantastic David!

@Marc in my case that would result in something not desired.

Free Windows Admin Tool Kit Click here and download it now
June 27th, 2013 8:57pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics