AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WorkMail::Types::DescribeUserResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#disabled_dateTime

The date and time at which the user was disabled for Amazon WorkMail usage, in UNIX epoch time format.

Returns:

  • (Time)

    The date and time at which the user was disabled for Amazon WorkMail usage, in UNIX epoch time format.

#display_nameString

The display name of the user.

Returns:

  • (String)

    The display name of the user.

#emailString

The email of the user.

Returns:

  • (String)

    The email of the user.

#enabled_dateTime

The date and time at which the user was enabled for Amazon WorkMail usage, in UNIX epoch time format.

Returns:

  • (Time)

    The date and time at which the user was enabled for Amazon WorkMail usage, in UNIX epoch time format.

#nameString

The name for the user.

Returns:

  • (String)

    The name for the user.

#stateString

The state of a user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to WorkMail).

Possible values:

  • ENABLED
  • DISABLED
  • DELETED

Returns:

  • (String)

    The state of a user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to WorkMail).

#user_idString

The identifier for the described user.

Returns:

  • (String)

    The identifier for the described user.

#user_roleString

In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into Amazon WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, and SYSTEM_USER.

Possible values:

  • USER
  • RESOURCE
  • SYSTEM_USER

Returns:

  • (String)

    In certain cases, other entities are modeled as users.