Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Prado
Security
IUser
setRoles
Prado\Security\IUser::setRoles PHP Method
IUser Interface Documentation
Mostra file
Open project: pradosoft/prado
setRoles()
public
method
public
setRoles
(
$value
) :
array
|
string
return
array
|
string
list of roles that the user is of. If it is a string, roles are assumed by separated by comma
public function setRoles($value);
IUser
getIsGuest
getName
getRoles
isInRole
loadFromString
saveToString
setIsGuest
setName
setRoles