getKxUser method

Future<GetKxUserResponse> getKxUser({
  1. required String environmentId,
  2. required String userName,
})

Retrieves information about the specified kdb user.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter environmentId : A unique identifier for the kdb environment.

Parameter userName : A unique identifier for the user.

Implementation

Future<GetKxUserResponse> getKxUser({
  required String environmentId,
  required String userName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/kx/environments/${Uri.encodeComponent(environmentId)}/users/${Uri.encodeComponent(userName)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetKxUserResponse.fromJson(response);
}