AWS code-library documentation change
Summary
Added SAP ABAP code example for ListUsers API
Security assessment
Addition of SAP ABAP sample code for listing users. No security implications as this is a read-only operation with no authentication changes.
Diff
diff --git a/code-library/latest/ug/iam_example_iam_ListUsers_section.md b/code-library/latest/ug/iam_example_iam_ListUsers_section.md index c33e98338..6b54f132a 100644 --- a//code-library/latest/ug/iam_example_iam_ListUsers_section.md +++ b//code-library/latest/ug/iam_example_iam_ListUsers_section.md @@ -703,0 +704,25 @@ 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. + oo_result = lo_iam->listusers( ). + MESSAGE 'Retrieved user list.' TYPE 'I'. + CATCH /aws1/cx_iamservicefailureex. + MESSAGE 'Service failure when listing users.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [ListUsers](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +