mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 16:05:30 +00:00
1.1 KiB
1.1 KiB
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
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)