Interface IIdentity (namespace Nette\Security)


Represents the user of application.


Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Security/IIdentity.php (line 30)
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 37

getName

public string getName ()

Returns the name of user.

line 43

getRoles

public array getRoles ()

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