IAdmPropertyPatternItem
The IAdmPropertyPatternItem interface represents a property pattern entry.
Inheritance: IAdmTop
Methods
-
Method
-
Description
-
GetConstraints()
-
Returns the IAdmPropertyPatternConstraints interface that represents a collection of constrains for the property.
-
SetConstraints()
-
Sets a collection of constraints for the property represented by this entry.
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.
-
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.
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