This Interface represents a Principal.
You can fetch an instance for example by calling:
- $principalService = $services->getPrincipalService();
- $principal = $principalService->lookupByID($userID);
| Class | Description |
|---|---|
| DefaultPrincipal | This represents a Principal within the internal User Database. |
Returns the Users email.
Returns the Principal ID.
Gets the Language ID for this Principal.
Gets the Principal name.
Gets the Users status.
Returns if the Principal is active or not. Deactivated Principaly can not log in.
Returns whether the User is anonymous or not.
Returns whether the User is Super User or not.
For a Super User Permissions will NOT be checked. A Super User therefor has even more rights than a normal Administrator.
Documentation generated by phpDocumentor 1.4.0