Sets in FIM
Hi,
I have a requirement where i have created a set to list all the users who doesnt have "Display Name".
Can anyone help on this.?
i have given Display Name not starts with (Display Name,'%'). But still its displaying all the users who have display name.
November 22nd, 2010 1:14am
Hi,
There is a blog that describes this very well, you can find it here:
http://blogs.dirteam.com/blogs/jorge/archive/2009/11/12/fim-2010-not-not-is-empty-and-not-equal-i-think.aspx
Kind regards,
Freek Berson
http://microsoftplatform.blogspot.com/
Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2010 2:45am
Hi,
There is a blog that describes this very well, you can find it here:
http://blogs.dirteam.com/blogs/jorge/archive/2009/11/12/fim-2010-not-not-is-empty-and-not-equal-i-think.aspx
Kind regards,
Freek Berson
http://microsoftplatform.blogspot.com/
November 22nd, 2010 2:45am
As you can see from Jorge's post the following filter should build a set with all users having a DisplayName
/Person[DisplayName != '_$$$_']
The result is correct as long as you do not expect real DisplayNames with the value _$$$_
Unfortuanatly FIM 2010 doesn't support double negotions anymore - something like
/Person[not(MyAttribute != '_$$$_')]
/Matthias
Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2010 4:01am
As you can see from Jorge's post the following filter should build a set with all users having a DisplayName
/Person[DisplayName != '_$$$_']
The result is correct as long as you do not expect real DisplayNames with the value _$$$_
Unfortuanatly FIM 2010 doesn't support double negotions anymore - something like
/Person[not(MyAttribute != '_$$$_')]
/Matthias
November 22nd, 2010 4:01am
As fro Jorge's post the following filter should build a set with all users having a DisplayName
/Person[DisplayName != '_$$$_']
The result is correct as long as you do not expect real DisplayNames with the value _$$$_
Unfortuanatly FIM 2010 doesn't support double negotions anymore - something like
/Person[not(MyAttribute != '_$$$_')]
/Matthias/Matthias
Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2010 4:01am
As fro Jorge's post the following filter should build a set with all users having a DisplayName
/Person[DisplayName != '_$$$_']
The result is correct as long as you do not expect real DisplayNames with the value _$$$_
Unfortuanatly FIM 2010 doesn't support double negotions anymore - something like
/Person[not(MyAttribute != '_$$$_')]
/Matthias/Matthias
November 22nd, 2010 4:01am
Any solution is there for this?
Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2010 7:23am
Any solution is there for this?
November 22nd, 2010 7:23am
0. User without DisplayName = All Users - Users with DisplayName
1. Create a set containing all users with a valid displayName
XPath-Filter: /Person[DisplayName != '_$$$_']
2. Create a set containg all users expect members of the first set
XPath-Filter: /Person[ObjectID != /Set[ObjectID='<ObjectID of the first set>']/ComputedMember]
/Matthias
Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2010 8:43am
I tried creating a a set like
XPath-Filter: /Person[DisplayName != '_$$$_']
Display Name is not '_$$$_'
But it displays all the users who have/doesnt have display name.
Also when i tried creating the set containing all the users except members of the first set like
XPath-Filter: /Person[ObjectID != /Set[ObjectID='<ObjectID of the first set>']/ComputedMember]
Also when i tried selecting Resource Id it allows me to pick only the users in FIM but not the set i have created which has the list of display name
How to proceed in this case.
November 23rd, 2010 1:57am
Configuring filter rules using the UI may have some limitations. You overcome these limitations the following way:
Create a simple Set with a common filter Open the Set, select Advanced View, then Extended Attributes Modify the Filter Attribute to fit your requirements
The first set filter attribute should look like:
<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[DisplayName
!= '_$$$_']</Filter>
The second set filter attribute should look like:
<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[ObjectID
!= /Set[ObjectID='<ObjectID of the first set>']/ComputedMember]</Filter>
/Matthias
Free Windows Admin Tool Kit Click here and download it now
November 23rd, 2010 2:48am
Thanks for the suggestions.
I have tried giving
Display Name not starts with %
and it displays all the user records which does not have Display Name.
It worked fine.
November 25th, 2010 2:16am
What was your final solution? The two Sets I've described above or did find another solution/Matthias
Free Windows Admin Tool Kit Click here and download it now
November 26th, 2010 1:38am
Ya but in a simple way.
I have created a set with user match all conditions.
and have given DisplayName not starts with % .
It displayed all the users who doesnot have display name.
Thanks
December 7th, 2010 1:15am
Ya but in a simple way.
I have created a set with user match all conditions.
and have given DisplayName not starts with % .
It displayed all the users who doesnot have display name.
Thanks
Free Windows Admin Tool Kit Click here and download it now
December 7th, 2010 1:15am