Метод | Описание | |
---|---|---|
findAllUsersByRoleId ( integer $roleId ) : array | Finds all users for the role with the given id. | |
findUserByContact ( $id ) : array | Searches for a user with a specific contact id. | |
findUserByEmail ( string $email ) : Symfony\Component\Security\Core\User\UserInterface | Finds a user for a given email. | |
findUserById ( $id ) | ||
findUserByIdentifier ( $identifier ) | ||
findUserBySystem ( string $system ) : |
Returns all users with the given system including their contacts. | |
findUserByToken ( string $token ) : Symfony\Component\Security\Core\User\UserInterface | Finds a user for a given password-reset-token. | |
findUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\UserInterface | Finds a user for the given username. | |
findUserWithSecurityById ( $id ) | ||
findUsersByAccount ( $accountId, $sortBy = [] ) | ||
getUsernameByApiKey ( string $apiKey ) : string | returns username for given apiKey. |
Метод | Описание | |
---|---|---|
getUserWithPermissionsQuery ( ) : Doctrine\ORM\QueryBuilder | Returns the query for the user with the joins for retrieving the permissions. Especially useful for security related queries. |
public findAllUsersByRoleId ( integer $roleId ) : array | ||
$roleId | integer | |
Результат | array |
public findUserByContact ( $id ) : array | ||
$id | ||
Результат | array |
public findUserByEmail ( string $email ) : Symfony\Component\Security\Core\User\UserInterface | ||
string | The email-address | |
Результат | Symfony\Component\Security\Core\User\UserInterface |
public findUserBySystem ( string $system ) : |
||
$system | string | |
Результат |
public findUserByToken ( string $token ) : Symfony\Component\Security\Core\User\UserInterface | ||
$token | string | the reset-token |
Результат | Symfony\Component\Security\Core\User\UserInterface |
public findUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\UserInterface | ||
$username | string | The username |
Результат | Symfony\Component\Security\Core\User\UserInterface |
public getUsernameByApiKey ( string $apiKey ) : string | ||
$apiKey | string | userId |
Результат | string |