Skip to main content

Fielddetailsdto

Properties

NameTypeDescriptionNotes
NameStringThe name of the attribute.[optional]
Transform[SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0The transform to apply to the field[optional]
Attributes[SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0Attributes required for the transform[optional]
IsRequiredBooleanFlag indicating whether or not the attribute is required.[optional] [readonly] [default to $false]
TypeEnum [ "string", "int", "long", "date", "boolean", "secret" ]The type of the attribute. string: For text-based data. int: For whole numbers. long: For larger whole numbers. date: For date and time values. boolean: For true/false values. secret: For sensitive data like passwords, which will be masked and encrypted.[optional]
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]