메소드 |
설명 |
|
activateUser ( $id ) : mixed | void |
Activate a user |
|
addUserToGroup ( $group_id, $user ) |
Add an user to an user group |
|
createUser ( array $input = [] ) |
Create a new user |
|
deactivateUser ( $id ) : mixed | void |
Deactivate a user |
|
deleteUser ( $id ) : mixed | void |
Delete a user or multiple users |
|
findAllUsers ( ) : mixed |
Find all users |
|
findUserById ( $id, string $group_field = 'id' ) : mixed |
Find a user by id |
|
getUserGroups ( SentryUser $user, string $value = null, key $key = null ) : array |
Get all the user groups that a user lies in |
|
isBanned ( $id ) : boolean |
Check whether an user is banned or not |
|
updateUser ( $id, array $input = [] ) : mixed | void |
Update an existing user |
|
uploadImage ( File $file, integer $id = null ) : string |
Upload profile photo of user |
|