Метод | Описание | |
---|---|---|
findUserById ( integer $id ) : Sulu\Component\Security\Authentication\UserInterface | Returns the user with the given id. | |
findUserByIdentifier ( string $identifier ) : Sulu\Component\Security\Authentication\UserInterface | Finds a user for a given email or username. | |
findUserWithSecurityById ( integer $id ) : Sulu\Component\Security\Authentication\UserInterface |
public findUserById ( integer $id ) : Sulu\Component\Security\Authentication\UserInterface | ||
$id | integer | The user to find |
Результат | Sulu\Component\Security\Authentication\UserInterface |
public findUserByIdentifier ( string $identifier ) : Sulu\Component\Security\Authentication\UserInterface | ||
$identifier | string | The email-address or username |
Результат | Sulu\Component\Security\Authentication\UserInterface |
public findUserWithSecurityById ( integer $id ) : Sulu\Component\Security\Authentication\UserInterface | ||
$id | integer | |
Результат | Sulu\Component\Security\Authentication\UserInterface |