Talk About Network

Google





Software > ADSI General > Re: How does AD...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 5336 of 5437
Post > Topic >>

Re: How does ADUC know which is the Object Class?

by "Richard Mueller [MVP]" <rlmueller-nospam@[EMAIL PROTECTED] > Jul 22, 2008 at 01:11 PM

"ssg31415926" <newsjunkmail@[EMAIL PROTECTED]
> wrote in message 
news:85608ba7-7153-42ab-af0c-c610a2a972b9@[EMAIL PROTECTED]
> On 22 Jul, 16:33, "Richard Mueller [MVP]" <rlmueller-
> nos...@[EMAIL PROTECTED]
> wrote:
>> "ssg31415926" <newsjunkm...@[EMAIL PROTECTED]
> wrote in message
>>
>> news:7b168435-dce5-4691-9483-7fa66c63c6ac@[EMAIL PROTECTED]
>>
>> > In Active Directory Users and Computers, I open Properties on, say, a
>> > user.  On the 'Object' tab, under Object class it shows User.  But
>> > objectClass is a multi-valued attribute.  How does ADUC know which
one
>> > to pick?  I want to replicate this in my own code.
>>
>> The most specific class in the objectClass attribute is used. Unlike 
>> other
>> multi-valued attributes, the order of the values matters. The last
entry 
>> is
>> the most specific. The "Top" class is the least specific and is first. 
>> This
>> link may help:
>>
>> http://msdn.microsoft.com/en-us/library/cc223167.aspx
>>
>> --
>> Richard Mueller
>> MVP Directory Services
>> Hilltop Lab -http://www.rlmueller.net
>> --
>
> Thanks very much for your help - I knew that mv-attributes had non-
> specific order - I didn't know that this was an exception.

Something must determine the order/hierarchy of cl*****. I think you can
see 
this in the Schema container, where each classSchema object has a
subClassOf 
attribute. For example, the "user" classSchema object has subClassOf equal

to "organizationalPerson". The "organizationalPerson" object has
subClassOf 
equal to "person", and the "person" object has subClassOf equal to "top". 
The "top" classSchema object has subClassOf equal to "top". The
objectClass 
attribute of user objects has the values 
"top,person,organizationalPerson,user" in that order.

-- 
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--
 




 4 Posts in Topic:
How does ADUC know which is the Object Class?
ssg31415926 <newsjunkm  2008-07-22 01:39:27 
Re: How does ADUC know which is the Object Class?
"Richard Mueller [MV  2008-07-22 10:33:14 
Re: How does ADUC know which is the Object Class?
ssg31415926 <newsjunkm  2008-07-22 09:14:39 
Re: How does ADUC know which is the Object Class?
"Richard Mueller [MV  2008-07-22 13:11:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 19:15:45 PST 2009.