Interface IIdentity (namespace Nette\Security)
Represents the user of application.
Public Method Summary | |
---|---|
string |
getName
()
Returns the name of user.
|
array |
getRoles
()
Returns a list of roles that the user is a member of.
|
Method Details |
---|
line 37 getNamepublic string getName () Returns the name of user. |
line 43 getRolespublic array getRoles () Returns a list of roles that the user is a member of. |