The MFADevice data type contains information about an MFA device.
This data type is used as a response element in the action ListMFADevices.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class MFADevice
Public Class MFADevice
public ref class MFADevice
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| MFADevice()()()() | Initializes a new instance of the MFADevice class | |
| EnableDate |
The date when the MFA device was enabled for the user.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| SerialNumber |
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
Constraints: | |
| ToString()()()() | (Inherited from Object.) | |
| UserName |
The user with whom the MFA device is associated.
Constraints: | |
| WithEnableDate(DateTime) |
Sets the EnableDate property
| |
| WithSerialNumber(String) |
Sets the SerialNumber property
| |
| WithUserName(String) |
Sets the UserName property
|