X-Path filter object type
Hi, This is a newbie question and I"ve tried to find an answer with no luck. I'd like to create a criteria based group that has both groups and users as members. Is it possible for an XPath filter to return groups and users? For example, I want the group to contain all users with a certain cost-center value and a group with a specified display name. Thank you in advance for any help or guidance! Thanks, Sami
January 22nd, 2011 10:59am

It is possible but not by using the filter builder. You'll have to click the "Advanced View" and "Extended attributes" to edit the filter attribute manually. This is how the Filter attribute should look for what you want: <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect" xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Person[CostCenter = 'Cost Center']|/Group[DisplayName='Group Name'] </Filter> Note that this filter wont display in the filter builder either' to edit it you must edit the filter attribute but you're able to use the View Members button. Also note the pipe (| ) (or operator) that acts as separator between the two queries. /HenrikHenrik Nilsson, ILM/FIM MVP Blog: http://www.idmcrisis.com Company: Cortego (http://www.cortego.se)
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2011 8:11am

It is possible but not by using the filter builder. You'll have to click the "Advanced View" and "Extended attributes" to edit the filter attribute manually. This is how the Filter attribute should look for what you want: <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect" xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Person[CostCenter = 'Cost Center']|/Group[DisplayName='Group Name'] </Filter> Note that this filter wont display in the filter builder either' to edit it you must edit the filter attribute but you're able to use the View Members button. Also note the pipe (| ) (or operator) that acts as separator between the two queries. /HenrikHenrik Nilsson, ILM/FIM MVP Blog: http://www.idmcrisis.com Company: Cortego (http://www.cortego.se)
January 23rd, 2011 8:11am

Hi Henrik! That completely solved my problem. Thank you (yet again!) for your help. I appreciate it. Best regards, Sami
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2011 8:58am

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

Other recent topics Other recent topics