User.userId Property

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

Description

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

Syntax

"user_var" is a variable referencing a User object.

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

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

Property Value

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

Version

Introduced in version January 2016