Files
developer.sailpoint.com/docs/tools/sdk/powershell/Reference/V3/Models/DateCompare.md
2025-05-07 14:37:48 +00:00

2.3 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
date-compare DateCompare DateCompare DateCompare powershellsdk
powershell
PowerShell
sdk
DateCompare
DateCompare
/tools/sdk/powershell/v3/models/date-compare
SDK
Software Development Kit
DateCompare
DateCompare

DateCompare

Properties

Name Type Description Notes
FirstDate DateCompareFirstDate [required]
SecondDate DateCompareSecondDate [required]
Operator Enum [ "LT", "LTE", "GT", "GTE" ] This is the comparison to perform. Operation
PositiveCondition String The output of the transform if the expression evalutes to true [required]
NegativeCondition String The output of the transform if the expression evalutes to false [required]
RequiresPeriodicRefresh Boolean A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process [optional] [default to $false]
VarInput [map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4 This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. [optional]

Examples

  • Prepare the resource
$DateCompare = Initialize-DateCompare  -FirstDate null `
 -SecondDate null `
 -Operator LT `
 -PositiveCondition true `
 -NegativeCondition false `
 -RequiresPeriodicRefresh false `
 -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}}
  • Convert the resource to JSON
$DateCompare | ConvertTo-JSON

[Back to top]