mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
# UserProfile
|
|
|
|
Details of the logged-in user, including username and user principal name.
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**user_name** | **str** | Machine username of the logged-in user. | [optional]
|
|
**user_principal_name** | **str** | User login name in Internet-style format, typically used in Active Directory environments. | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from thousandeyes_sdk.endpoint_test_results.models.user_profile import UserProfile
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of UserProfile from a JSON string
|
|
user_profile_instance = UserProfile.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(UserProfile.to_json())
|
|
|
|
# convert the object into a dict
|
|
user_profile_dict = user_profile_instance.to_dict()
|
|
# create an instance of UserProfile from a dict
|
|
user_profile_from_dict = UserProfile.from_dict(user_profile_dict)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|