Defines an account interface which represents the current user.
Defines an object that has a user id, roles and can have session data. The interface is implemented both by the global session and the user entity.
Expanded class hierarchy of AccountInterface
All classes that implement AccountInterface
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AccountInterface:: |
public | function | Returns a list of roles. | 2 |
AccountInterface:: |
public | function | Returns the secure session ID. | 3 |
AccountInterface:: |
public | function | Returns the session data. | 3 |
AccountInterface:: |
public | function | Returns the session ID. | 3 |
AccountInterface:: |
public | function | Returns the user ID or 0 for anonymous. | 1 |