Re: Missing MemberOf Attribute in Active Directory Objects.
- From: "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 9 May 2005 13:23:52 -0500
Ah, I see what you are doing wrong.
Based on your original code, memberOf is not in the collection of attributes
from the search because it was no added to the PropertiesToLoad property.
You should do something like this:
directorySearcher.PropertiesToLoad.Add("memberOf");
Then you should be okay.
This is required because the DirectorySearcher is designed to return only
the attributes you requested. It does not return all of the attributes by
default like ldp.exe does when no specific attributes are requested.
HTH,
Joe K.
<pitdog@xxxxxxxxx> wrote in message
news:1115660212.540437.139970@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> The attribute MemberOf is availible when I search through LDP.exe
>
.
- References:
- Missing MemberOf Attribute in Active Directory Objects.
- From: pitdog
- Re: Missing MemberOf Attribute in Active Directory Objects.
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Missing MemberOf Attribute in Active Directory Objects.
- From: pitdog
- Re: Missing MemberOf Attribute in Active Directory Objects.
- From: pitdog
- Missing MemberOf Attribute in Active Directory Objects.
- Prev by Date: Re: ADAM Synchronizer Beta - question
- Next by Date: Group Policy, Truncated problem
- Previous by thread: Re: Missing MemberOf Attribute in Active Directory Objects.
- Next by thread: guid
- Index(es):
Relevant Pages
|