Hi,
Is there a way to filter disabled accounts based on account status?
I am aware that there is a method to update all disabled accounts with a specific department but wanted to check if there is a way we could use the account status in AD.
Hi,
Is there a way to filter disabled accounts based on account status?
I am aware that there is a method to update all disabled accounts with a specific department but wanted to check if there is a way we could use the account status in AD.
Hi @aria,
You can set up the filtration to use the userAccountControl property, but this method is quite complicated and may not be worth the effort.
You will need to manually set up mapping to use this property for filtering in the Org Chart. Note, in this case you may also need to use JavaScript bitwise operators to work with userAccountControl value correctly.
Please see this article for further reference.
The easiest way to filter disabled accounts is to use one of the following options:
function(itemData){
return itemData["Department"] != "Off company";
}
Hope this helps. Please feel free to ask any questions.