Application.currentUser Property

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

Description

Returns the User that is currently logged in.

Syntax

"application_var" is a variable referencing an Application object.

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

// Get the value of the property.
Ptr<User> propertyValue = application_var->currentUser();

Property Value

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

Version

Introduced in version January 2016