Get Users By User Name And Domain V2 Using GET

Get Users By User Name And Domain V2 Using GET

This API is used to a user by user name and domain.

Request
URI
GET
https://{api_host}//localhost:8080/lcm/authzn/api/v2/users/name/{userName}/domain/{domain}
COPY
Path Parameters
string
domain
Required

domain

string
userName
Required

userName


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns UserExDTO of type(s) application/json
{
    "displayName": "configadmin configadmin",
    "domain": "example.com",
    "isDisabled": false,
    "password": "string",
    "providerIdentifier": "6304f1ed-17e0-4128-b86f-e29c6563e32f",
    "roleMappings": [
        {
            "authorities": "string",
            "isInternal": false,
            "roleDescription": "string",
            "roleName": "string",
            "vmid": "string"
        }
    ],
    "userMetadata": {
        "additionalMeta": [
            "string"
        ],
        "distinguishedName": "string",
        "emails": [
            "[email protected]"
        ],
        "externalId": "764195c6-5504-4f56-8c34-b372d47f5176",
        "familyName": "user1",
        "givenName": "LCM"
    },
    "userPrincipalName": "configadmin_upn",
    "userType": "VIDM_LOCAL_USER",
    "username": "configadmin",
    "vmid": "77e3de56-18ba-45b1-b8e3-afc6d0c7c7f2"
}
string
displayName
Optional

Display name

string
domain
Optional

Domain

boolean
isDisabled
Optional

isDisabled

string
password
Optional

password

string
providerIdentifier
Optional

Provider ID

array of RoleExDTO
roleMappings
Optional

roleMappings

userMetadata
Optional

userMetadata

string
userPrincipalName
Optional

User Principal Name

string
userType
Optional

User Type

string
username
Optional

User name

string
vmid
Optional

User ID


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


500

Internal Server Error

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations