Sunset of Entitlements through code

Hi all,

Is it possible to set a sunset date for any entitlement request through code?

Thanks in advance

You can create a Business Role that will include an IT Role pointing to this entitlement. When requesting access to the Business Role, you have the option to set a date after which the selected user may lose the assigned Business Role.

Go to Quicklink → Manage User Access → Select Identity → Select Business Role → In the 3rd step click on calendar in the right cornenr end set dates like in the image below:

If you want try this within source code you can use Bundle Object.

Dummy Code Example:

    Bundle bundle = new Bundle();
        bundle.setActivationDate(LocalDate.now().toDate());
        bundle.setDeactivationDate(LocalDate.now().toDate());
2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.