AWS IAM documentation change
Summary
Added PowerShell V5 example for ListUsers API call with sample user data output
Security assessment
Standard user listing example without security-specific context
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_ListUsers_section.md b/IAM/latest/UserGuide/iam_example_iam_ListUsers_section.md index 7d9b1039c..cc11de06d 100644 --- a//IAM/latest/UserGuide/iam_example_iam_ListUsers_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_ListUsers_section.md @@ -560,0 +561,38 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example retrieves a collection of users in the current AWS account.** + + + Get-IAMUserList + + +**Output:** + + + Arn : arn:aws:iam::123456789012:user/Administrator + CreateDate : 10/16/2014 9:03:09 AM + PasswordLastUsed : 3/4/2015 12:12:33 PM + Path : / + UserId : 7K3GJEANSKZF2EXAMPLE1 + UserName : Administrator + + Arn : arn:aws:iam::123456789012:user/Bob + CreateDate : 4/6/2015 12:54:42 PM + PasswordLastUsed : 1/1/0001 12:00:00 AM + Path : / + UserId : L3EWNONDOM3YUEXAMPLE2 + UserName : bab + + Arn : arn:aws:iam::123456789012:user/David + CreateDate : 12/10/2014 3:39:27 PM + PasswordLastUsed : 3/19/2015 8:44:04 AM + Path : / + UserId : Y4FKWQCXTA52QEXAMPLE3 + UserName : David + + * For API details, see [ListUsers](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +