Skip to main content

FieldDetailsDto

Properties​

NameTypeDescriptionNotes
NameStringThe name of the attribute.[optional] [default to ""]
TransformSystemCollectionsHashtableThe transform to apply to the field.[optional]
AttributesSystemCollectionsHashtableAttributes required for the transform.[optional]
IsRequiredBooleanFlag indicating whether or not the attribute is required.[optional] [default to $false]
TypeStringThe type of the attribute.[optional] [default to "string"]
IsMultiValuedBooleanFlag indicating whether or not the attribute is multi-valued.[optional] [default to $false]

Examples​

  • Prepare the resource
$FieldDetailsDto = Initialize-FieldDetailsDto -Name userName `
-Transform {"type":"rule","attributes":{"name":"Create Unique LDAP Attribute"}} `
-Attributes {"template":"firstname.lastname.uniqueCounter","cloudMaxUniqueChecks":"50","cloudMaxSize":"20","cloudRequired":"true"} `
-IsRequired false `
-Type string `
-IsMultiValued false
  • Convert the resource to JSON
$FieldDetailsDto | ConvertTo-JSON

[Back to top]