:doc:`IAM <../../iam>` / Resource / CurrentUser

===========
CurrentUser
===========



.. note::

  Before using anything on this page, please refer to the resources :doc:`user guide <../../../../guide/resources>` for the most recent guidance on using resources.



.. py:class:: IAM.CurrentUser()

  A resource representing an AWS Identity and Access Management (IAM) CurrentUser::

    
    import boto3
    
    iam = boto3.resource('iam')
    current_user = iam.CurrentUser()

  




----------
Attributes
----------



Attributes provide access to the properties of a resource. Attributes are lazy-loaded the first time one is accessed via the :py:meth:`load` method.
For more information about attributes refer to the :ref:`Resources Introduction Guide<identifiers_attributes_intro>`.

These are the resource's available attributes:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  arn
  create_date
  password_last_used
  path
  permissions_boundary
  tags
  user_id
  user_name



----------
References
----------



References are related resource instances that have a belongs-to relationship.
For more information about references refer to the :ref:`Resources Introduction Guide<references_intro>`.

These are the resource's available references:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  user



-----------
Collections
-----------



Collections provide an interface to iterate over and manipulate groups of resources. 
For more information about collections refer to the :ref:`Resources Introduction Guide<guide_collections>`.

These are the resource's available collections:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  access_keys
  mfa_devices
  signing_certificates
