Description | Account Expiration by Timezone Transform | |
Legal Agreement | By using this CoLabitem, you are agreeing to SailPoint’s Terms of Service for our developer community and open-source CoLab. | |
Repository Link | colab-transforms/transforms/AccountExpires at main · sailpoint-oss/colab-transforms · GitHub | |
New to Transforms in the CoLab? | Read the getting started guide for Transforms in the CoLab. | |
Supported by | Community Developed |
Overview
Active Directory is the heart of an organization, and many companies have employees, contractors, and third-party users accessing their resources. When a contractor’s contract ends or is terminated, it is essential to ensure that their Active Directory account is set to expire. In some organizations, the audit team will review whether the contract end date aligns with the account expiration date.
There is a requirement for the organization, which operates globally, that users’ Active Directory accounts should expire at 6 PM according to their respective country time zones
Guide
I am using a Static Transform to retrieve the EmpEndDate and ContractorEndDate from SAP HR. Once I have the dates, I calculate the time using a DateFormat Transform by appending the country code and ‘6:00 PM’ at the end.