Issue:
'Disable/Delete User After End Date' Schedule Task Deleting User Instead Of Disable In OIM 11g
Solution:
By default, as per the definition of "Disable/Delete User After End Date" task does both functions disable and delete user which is controlled by "Period to Delay User Delete" system property.
Default value of "Period to Delay User Delete" is '0', it means once user reach to end date, it will be deleted from OIM. One can control this using "Period to Delay User Delete" system property. One can try to set some positive number to delay in delete, it will keep user in Disabled status till that time.
If one wants to disable deleting, then one can effectively do so by setting XL.UserDeleteDelayPeriod sufficiently large.
For example set it to 36500 - 36500 days = ~100 years. So, with this set to 100 years, logically your users will never get deleted.
Period to Delay User Delete
This property is used to specify the time period before deleting a user. When this property is set and a user is deleted, the user's state is changed to disabled and "automatically delete on date" is set to current date plus the delay period.
Description: "Period to Delay User Delete"
Keyword: XL.UserDeleteDelayPeriod
Default value: 0 (XL.UserDeleteDelayPeriod is measured in days)
'Disable/Delete User After End Date' Schedule Task Deleting User Instead Of Disable In OIM 11g
Solution:
By default, as per the definition of "Disable/Delete User After End Date" task does both functions disable and delete user which is controlled by "Period to Delay User Delete" system property.
Default value of "Period to Delay User Delete" is '0', it means once user reach to end date, it will be deleted from OIM. One can control this using "Period to Delay User Delete" system property. One can try to set some positive number to delay in delete, it will keep user in Disabled status till that time.
If one wants to disable deleting, then one can effectively do so by setting XL.UserDeleteDelayPeriod sufficiently large.
For example set it to 36500 - 36500 days = ~100 years. So, with this set to 100 years, logically your users will never get deleted.
Period to Delay User Delete
This property is used to specify the time period before deleting a user. When this property is set and a user is deleted, the user's state is changed to disabled and "automatically delete on date" is set to current date plus the delay period.
Description: "Period to Delay User Delete"
Keyword: XL.UserDeleteDelayPeriod
Default value: 0 (XL.UserDeleteDelayPeriod is measured in days)
No comments:
Post a Comment