Skip to content

IAdmServiceSchema

The IAdmServiceSchema interface represents the Active Directory schema managed by the Adaxes service.

Inheritance: The IAdmServiceSchema interface inherits from the IUnknown interface.

Methods

Properties

Details

GetClassesByName()

Returns a collection of schema object classes by name. Each schema class object in the collection is represented by the IAdmClass interface.

IADsCollection GetClassesByName(String objectClassName)

GetPropertiesByName()

Returns a collection of property types by name.

IADsCollection GetPropertiesByName(String propertyName)

QueryProperties()

Returns a collection of schema properties that the specified object classes contain. Each property in the collection is represented by the IAdmProperty interface.

IADsCollection QueryProperties(String[] objectClassNames,
                               Int32 queryCriteria,
                               Boolean sharedOnly)

Parameters

  • objectClassNames - Specifies an array of object class names to collect properties for.
  • queryCriteria - Specifies the filter criterion that determines whether the property type should be included in the resulting collection.
  • sharedOnly - Specifies whether only the properties that are shared among all the classes specified by the objectClassNames parameter will be included in the resulting collection.

LookupClass()

Returns an object class by name.

IADsClass LookupClass(String objectClassName, String contextName)

Parameters

  • objectClassName - Specifies the name of the object class to get.
  • contextName - Specifies the name of the forest to lookup the object class for. If this parameter is set to NULL, the method looks up in the backend server schema (ADAM or AD LDS).

LookupProperty()

Returns a property type by name.

IADsProperty LookupClass(String propertyName, String contextName)

Parameters

  • propertyName - Specifies the name of the property to get.
  • contextName - Specifies the name of the forest to lookup the property type for. If this parameter is set to NULL, the method looks up in the backend server schema (ADAM or AD LDS).

LastModificationTime

Gets the time of the last schema modification.

  • Type:
  • DateTime
  • Access:
  • Read-only

Syntaxes

Gets a collection of schema syntax objects. Each syntax object in the collection is represented by the IAdmSyntax interface.


Properties

Gets a collection of schema property objects. Each property object in the collection is represented by the IAdmProperty interface.


Classes

Gets a collection of schema class objects. Each class object in the collection is represented by the IAdmClass interface.


MatchingRules

Gets a collection of schema matching rule objects. Each matching rule object in the collection is represented by the IAdmMatchingRule interface.


Requirements

Minimum required version: 2009.1

See also