Application.userName Property

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

Description

Returns the user name of the Autodesk account currently logged in.

Syntax

"application_var" is a variable referencing an Application object.

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

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

Property Value

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

Version

Introduced in version September 2015