---
title: "GET /api/identity/users/by-username/{userName}"
method: GET
path: "/api/identity/users/by-username/{userName}"
tags: ["User"]
---

# GET /api/identity/users/by-username/{userName}

`GET /api/identity/users/by-username/{userName}`

## Request

- Base URL: `https://api.connact-app.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.connact-app.com/api/identity/users/by-username/{userName}`
- Auth: OAuth 2
  - Authorization code: `https://api.connact-app.com/connect/authorize`
  - Token URL: `https://api.connact-app.com/connect/token`
- TypeScript: <https://skmtc.dev/connact-app/apis/connact-api-24507495749-master/docs/api/identity/users/by-username/:userName/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `userName` string, required

## Response `200`

Success

- VoloAbpIdentityIdentityUserDto
  - `extraProperties` object, nullable
  - `id` string, uuid
  - `creationTime` string, date-time
  - `creatorId` string, uuid, nullable
  - `lastModificationTime` string, date-time, nullable
  - `lastModifierId` string, uuid, nullable
  - `isDeleted` boolean
  - `deleterId` string, uuid, nullable
  - `deletionTime` string, date-time, nullable
  - `tenantId` string, uuid, nullable
  - `userName` string, nullable
  - `name` string, nullable
  - `surname` string, nullable
  - `email` string, nullable
  - `emailConfirmed` boolean
  - `phoneNumber` string, nullable
  - `phoneNumberConfirmed` boolean
  - `isActive` boolean
  - `lockoutEnabled` boolean
  - `accessFailedCount` integer
  - `lockoutEnd` string, date-time, nullable
  - `concurrencyStamp` string, nullable
  - `entityVersion` integer
  - `lastPasswordChangeTime` string, date-time, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/connact-app/apis/connact-api-24507495749-master.md) - [All operations](https://skmtc.dev/connact-app/apis/connact-api-24507495749-master/llms.txt) - [OpenAPI document](https://skmtc.dev/connact-app/apis/connact-api-24507495749-master/revisions/b286d2cf34db?raw)
