Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 1216

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**To list IAM users**

The following ``list-users`` command lists the IAM users in the current account::

  aws iam list-users

Output::

  "Users": [
      {
          "UserName": "Adele",
          "Path": "/",
          "CreateDate": "2013-03-07T05:14:48Z",
          "UserId": "AKIAI44QH8DHBEXAMPLE",
          "Arn": "arn:aws:iam::123456789012:user/Adele"
      },
      {
          "UserName": "Bob",
          "Path": "/",
          "CreateDate": "2012-09-21T23:03:13Z",
          "UserId": "AKIAIOSFODNN7EXAMPLE",
          "Arn": "arn:aws:iam::123456789012:user/Bob"
      }
  ]

For more information, see `Listing Users`_ in the *Using IAM* guide.

.. _`Listing Users`: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_GetListOfUsers.html