Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Bolt
Users
getCurrentUsername
Bolt\Users::getCurrentUsername PHP Method
Users Class Documentation
Show file
Open project: bolt/bolt
getCurrentUsername()
public
method
Get the username of the current user.
Deprecation:
Deprecated since 3.0, to be removed in 4.0.
public
getCurrentUsername
( ) :
string
return
string
public function getCurrentUsername() { return $this->getCurrentUserProperty('username'); }
Users
__construct
addRole
canonicalizeFieldValue
checkAntiCSRFToken
checkAvailability
checkForRoot
checkValidSession
deleteUser
filterManipulatableRoles
getActiveSessions
getAntiCSRFToken
getCurrentUser
getCurrentUserProperty
getCurrentUsername
getEmptyUser
getRepository
getUser
getUsers
hasRole
hasUsers
isAllowed
isContentStatusTransitionAllowed
isEnabled
isValidSession
removeRole
saveUser
setEnabled
updateUserLogin