dcsimg
How to determine whether or not a schema contains attributes
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Frank_yu
Posted On:   Tuesday, July 11, 2006 12:29 PM

After I ran my code, I noticed the builtinDomain schema in Active Directory contains no MAY and MUST attributes. Is it normal for a schema to have no attributes? I used the following code to obtain information about a schema: String name = "builtinDomain"; Attributes attributes = schemaAD.getAttributes("ClassDefinition/" + name); System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"); System.out.println(attributes); The result showed some stuff but there are no attributes. I used an LDAP browser to    More>>

After I ran my code, I noticed the builtinDomain schema in Active Directory contains no MAY and MUST attributes. Is it normal for a schema to have no attributes?


I used the following code to obtain information about a schema:



String name = "builtinDomain";


Attributes attributes = schemaAD.getAttributes("ClassDefinition/" + name);


System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");


System.out.println(attributes);

The result showed some stuff but there are no attributes.
I used an LDAP browser to examine an object of type builtinDomain. It does contain attributes and associated values. So, why does the builtinDomain schema contain no attributes?

   <<Less
About | Sitemap | Contact