Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/18/2022 03:29 AM
Hi All,
Can anyone tell me how we can pass EDT time in Active Directory Account Expire from saviynt Endate.
I am using the below format
"accountExpires": "${if(user.enddate != null && user.employeeType!='Employee'){10000*(user.enddate.getTime() + 11644473600000)} else {'0'}}"
I got this from Connector guide.Can anyone help me to get the concept how it is calculating actually in our AD accepting Eastern Daylight Time when I am passing the endate value from saviynt that is not match.How can I pass the EDT format.
Solved! Go to Solution.
10/18/2022 06:22 AM
Can you try below logic mentioned
10/19/2022 06:54 AM
Active Directory accepts time in Win32 FileTime format which is different from Epoch/Unix time (time in milliseconds). Conversion of Epoch to File time requires adding 11644473600000 to Epoch and multiplying by 10000.