Application.userId Property

Parent Object: Application
Defined in namespace "adsk::core" and the header file is <Core/Application/Application.h>

Description

Returns the internal name of the Autodesk account currently logged in. This can be used by applications sold through the Autodesk Exchange Store to verify that the user has in fact purchased the product.

Syntax

"application_var" is a variable referencing an Application object.

# Get the value of the property.
propertyValue = application_var.userId
"application_var" is a variable referencing an Application object.
#include <Core/Application/Application.h>

// Get the value of the property.
string propertyValue = application_var->userId();

Property Value

This is a read only property whose value is a string.

Version

Introduced in version September 2015