GET api/smartview/usernamearn?email={email}

Get a username and arn from the database with sso support eg azure. Updates last login time

Request Information

URI Parameters

NameDescriptionTypeAdditional information
email

The email queried

string

Required

Body Parameters

None.

Response Information

Resource Description

A QueryUserResponse or 404 if user cant be found.

QueryUserResponse
NameDescriptionTypeAdditional information
Username

The username

string

None.

Arn

The users arn

string

None.

TwoFactorEnabled

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Arn": "sample string 2",
  "TwoFactorEnabled": true
}

application/xml, text/xml

Sample:
<QueryUserResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Username>sample string 1</Username>
  <Arn>sample string 2</Arn>
  <TwoFactorEnabled>true</TwoFactorEnabled>
</QueryUserResponse>