IAdmPropertyPatternItem

The IAdmPropertyPatternItem interface represents a property pattern entry.

Inheritance: IAdmTop

Methods

Properties

  • Property

  • Description

  • PropertyName

  • Gets or sets the name of the object property represented by this entry.

  • DefaultValue

  • Gets or sets the default value for the property.

  • GenerateDefaultValueDuringCreating

  • Gets or sets a value indicating whether the property value must be generated when a directory object is created.

  • 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.

  • IsPropertyRequired

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

  • Hint

  • Gets or sets a hint text for the property.

  • PropertyInfoMode

  • Gets or sets a value indicating what to display when the user requests additional information about the property.

  • CustomHelpText

  • Gets or sets a custom description for the property.

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 your 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

GenerateDefaultValueDuringCreating

Gets or sets a value indicating whether the property value must be generated when a directory object is created.

  • Type:
  • bool
  • 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:
  • bool
  • 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:
  • bool
  • Access:
  • Read/Write

Hint

Gets or sets a hint text for the property.

  • Type:
  • string
  • Access:
  • Read/Write

PropertyInfoMode

Gets or sets a value indicating what to display when the user requests additional information about the property.


CustomHelpText

Gets or sets a custom description for the property. HTML tags are allowed.

  • Type:
  • string
  • Access:
  • Read/Write

Requirements

Minimum required version: 2023

See also