and more in a single search tool across platforms. Read the announcement here. |
05/26/2022 06:28 AM
We want to pull locked or unlocked status from AD but the attribute in AD "lockOutTime" does not have fixed set of values, so need a way to add conditional status mapping.
05/27/2022 06:25 AM
Hi Dhanashree,
You can achieve this using "STATUS_THRESHOLD_CONFIG " in AD Connector.
Please refer to the STATUS_THRESHOLD_CONFIG part in the below document.
Please let me know of this helps!
Thanks & Kind Regards,
Manikanta.S
05/27/2022 10:59 AM
Add below config in STATUS_THRESHOLD_CONFIG under AD Connection
{
"statusAndThresholdConfig":{
"lockedStatusColumn":"customproperty30",
"lockedStatusMapping":{
"Locked":[
"0"
],
"Unlocked":[
"512",
"544"
]
}
}
}
05/30/2022 07:00 AM
We dont have defined values for locked - it is a date field on AD side. It will have date when the account gets locked. Also for Unlocked, the value will be 0 when I unlock user otherwise we will not be present in AD.
512,514 are mapped for status but I am looking for getting Locked or Unlocked and not active/inactive
05/31/2022 12:47 PM
Just a query, how are you planning to use the locked vs unlocked once you have (lets assume) defined and imported it via the connector ?
Regards,
Avinash Chhetri
05/31/2022 07:01 PM
Locked and Unlocked status will be used through getaccounts API to show unlock option based in UI based on this status.
06/01/2022 06:49 AM
Dhanashree,
If the intended usage is via the API, which probably feeds into the Custom UI, wouldn't it make sense to get the data from AD as is and use the logic in the custom UI to show locked vs unlocked based on the content of the attribute, NULL and 0 as unlocked while any value as locked ?
Getting back to your original query, I have personally never seen conditional logic being used in the statusAndThresholdConfig section, Im not saying it is not supported, Maybe someone who has done that before can help out.
Regards,
Avinash Chhetri