User class

Contains information about an IAM user entity.

This data type is used as a response element in the following operations:

Constructors

User({required String arn, required DateTime createDate, required String path, required String userId, required String userName, DateTime? passwordLastUsed, AttachedPermissionsBoundary? permissionsBoundary, List<Tag>? tags})
User.fromXml(XmlElement elem)
factory

Properties

arn String
The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
final
createDate DateTime
The date and time, in ISO 8601 date-time format, when the user was created.
final
hashCode int
The hash code for this object.
no setterinherited
passwordLastUsed DateTime?
The date and time, in ISO 8601 date-time format, when the user's password was last used to sign in to an AWS website. For a list of AWS websites that capture a user's last sign-in time, see the Credential Reports topic in the IAM User Guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. If the field is null (no value), then it indicates that they never signed in with a password. This can be because:
final
path String
The path to the user. For more information about paths, see IAM Identifiers in the IAM User Guide.
final
permissionsBoundary AttachedPermissionsBoundary?
The ARN of the policy used to set the permissions boundary for the user.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<Tag>?
A list of tags that are associated with the specified user. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.
final
userId String
The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide.
final
userName String
The friendly name identifying the user.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited