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
Nette
Security
Identity
getRoles
Nette\Security\Identity::getRoles PHP Method
Identity Class Documentation
Show file
Open project: nette/security
getRoles()
public
method
Returns a list of roles that the user is a member of.
public
getRoles
( ) :
array
return
array
public function getRoles() { return $this->roles; }
Identity
__construct
__get
__isset
__set
getData
getId
getRoles
parentGet
parentIsSet
parentSet
setId
setRoles