interface IIdentity

Represents the user of application.

Methods

mixed
getId()

Returns the ID of user.

array
getRoles()

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

Details

at line 23
mixed getId()

Returns the ID of user.

Return Value

mixed

at line 28
array getRoles()

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

Return Value

array