AWS Security ChangesHomeSearch

AWS IAM documentation change

Service: IAM · 2026-01-25 · Documentation low

File: IAM/latest/UserGuide/iam_example_iam_DeleteUser_section.md

Summary

Added SAP ABAP SDK code example for DeleteUser action

Security assessment

The change adds a code example for user deletion, which is a security operation. However, it doesn't address a specific vulnerability or incident, but rather demonstrates proper implementation of user management.

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_DeleteUser_section.md b/IAM/latest/UserGuide/iam_example_iam_DeleteUser_section.md
index 1765dbc20..13e14a8ee 100644
--- a//IAM/latest/UserGuide/iam_example_iam_DeleteUser_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_DeleteUser_section.md
@@ -676,0 +677,27 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+SAP ABAP
+    
+
+**SDK for SAP ABAP**
+    
+
+###### Note
+
+There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/sap-abap/services/iam#code-examples). 
+    
+    
+        TRY.
+            lo_iam->deleteuser( iv_username = iv_user_name ).
+            MESSAGE 'User deleted successfully.' TYPE 'I'.
+          CATCH /aws1/cx_iamnosuchentityex.
+            MESSAGE 'User does not exist.' TYPE 'E'.
+          CATCH /aws1/cx_iamdeleteconflictex.
+            MESSAGE 'User cannot be deleted due to attached resources.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [DeleteUser](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+