User.userName Property

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

Description

Returns the user name associated with this user's Autodesk account

Syntax

"user_var" is a variable referencing a User object.

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

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

Property Value

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

Version

Introduced in version January 2016