Skip to content

IAdmPropertyPatternItem

The IAdmPropertyPatternItem interface represents a Property Pattern entry.

Inheritance: The IAdmPropertyPatternItem interface inherits from the IAdmTop interface.

Methods

Properties

Details

GetConstraints()

Returns the IAdmPropertyPatternConstraints interface that represents a collection of constrains for the property.

IAdmPropertyPatternConstraints GetConstraints()

SetConstraints()

Sets a collection of constraints for the property represented by this entry.

void SetConstraints(IAdmPropertyPatternConstraints constraints)

Remarks

This method does not persist the changes to the directory. Call IADs::SetInfo to update the constrains collection in the directory.


PropertyName

Gets or sets the name of the object property represented by this entry. The property must be set to a string that contains the name of a directory object property as defined in the Active Directory schema (e.g. “department”, “cn”, “displayName”, “manager”, etc.).

  • Type:
  • String
  • Access:
  • Read/Write

DefaultValue

Gets or sets the default value for the property. You can use value references in the value.

  • Type:
  • Object
  • Access:
  • Read/Write

GenerateDefaultValueDuringEditing

Gets or sets a flag indicating whether the property value should be automatically updated during object modification if the DefaultValue property contains value references.

  • Type:
  • Boolean
  • Access:
  • Read/Write

Remarks

If set to FALSE, the property value will be generated only when a directory object is created.


IsPropertyRequired

Gets or sets a value indicating whether the property represented by this entry is mandatory.

  • Type:
  • Boolean
  • Access:
  • Read/Write

Requirements

Minimum required version: 2009.1

See also