Interface IIdentity (namespace Nette\Security)


Represents the user of application.


Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /Security/IIdentity.php (line 21)
Public Method Summary
string
getName ()
Returns the name of user.
array
Returns a list of roles that the user is a member of.

Method Details

line 28

getName

public string getName ()

Returns the name of user.

line 34

getRoles

public array getRoles ()

Returns a list of roles that the user is a member of.