Gets the specified user by user name in a user pool as an administrator. Works on any user.
Calling this action requires developer credentials.
cognitoidentityprovider_admin_get_user(UserPoolId, Username)
[required] The user pool ID for the user pool where you want to get information about the user.
[required] The user name of the user you wish to retrieve.
A list with the following syntax:
list( Username = "string", UserAttributes = list( list( Name = "string", Value = "string" ) ), UserCreateDate = as.POSIXct( "2015-01-01" ), UserLastModifiedDate = as.POSIXct( "2015-01-01" ), Enabled = TRUE|FALSE, UserStatus = "UNCONFIRMED"|"CONFIRMED"|"ARCHIVED"|"COMPROMISED"|"UNKNOWN"|"RESET_REQUIRED"|"FORCE_CHANGE_PASSWORD", MFAOptions = list( list( DeliveryMedium = "SMS"|"EMAIL", AttributeName = "string" ) ), PreferredMfaSetting = "string", UserMFASettingList = list( "string" ) )
svc$admin_get_user( UserPoolId = "string", Username = "string" )