Fork me on GitHub

Announcement

The oneye project has been discontinued. You might not expect further fixes and support from us. All community related systems are set to read-only mode. Though feel free to download and use oneye as-is or even fork it over at GitHub.

#1 2015-04-12 09:39:50

sazearte
Member
From: France
Registered: 2013-10-23
Posts: 234

Software: get the username

Hello, what is the command to have the name of the user?

Offline

#2 2015-04-15 01:37:07

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Software: get the username

It's the global variable $currentUser, what you're looking for:

global $currentUser;
$username = $currentUser;

Best regards,
Lars Knickrehm

The oneye project.

Offline

#3 2015-04-15 20:03:38

sazearte
Member
From: France
Registered: 2013-10-23
Posts: 234

Re: Software: get the username

yes ! thanks.

Offline

Board footer

Powered by FluxBB