github.com/launchdarkly/api-client-go@v5.3.0+incompatible/docs/UserRecordApi.md (about) 1 # \UserRecordApi 2 3 All URIs are relative to *https://app.launchdarkly.com/api/v2* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**GetUser**](UserRecordApi.md#GetUser) | **Get** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key. 8 9 10 # **GetUser** 11 > User GetUser(ctx, projectKey, environmentKey, userKey) 12 Get a user by key. 13 14 ### Required Parameters 15 16 Name | Type | Description | Notes 17 ------------- | ------------- | ------------- | ------------- 18 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 19 **projectKey** | **string**| The project key, used to tie the flags together under one project so they can be managed together. | 20 **environmentKey** | **string**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. | 21 **userKey** | **string**| The user's key. | 22 23 ### Return type 24 25 [**User**](User.md) 26 27 ### Authorization 28 29 [Token](../README.md#Token) 30 31 ### HTTP request headers 32 33 - **Content-Type**: application/json 34 - **Accept**: application/json 35 36 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 37