All URIs are relative to https://developer.api.autodesk.com
Method | HTTP request | Description |
---|---|---|
getUserProfile | GET /userprofile/v1/users/@me | Returns the profile information of an authorizing end user. |
\Autodesk\Forge\Client\Model\UserProfile getUserProfile()
Returns the profile information of an authorizing end user.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Autodesk\Forge\Client\Api\UserProfileApi($authObject);
try {
$result = $apiInstance->getUserProfile();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling UserProfileApi->getUserProfile: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\Autodesk\Forge\Client\Model\UserProfile
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]