PrincipalFactory.php
getRole($name, $useTempPermission=false)
Get a Role instance by name.
getUser($login, $useTempPermission=false)
Get a User instance by login.
getUserRoles(User $user, $useTempPermission=false)
Get the Role instances associated with the given User instance.
PrincipalFactory implementations are used to retrieve User and Role instances.
Definition: PrincipalFactory.php:19