![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
This file contains common functions involving the users table. More...
Go to the source code of this file.
Functions | |
| add_user ($User, $Desc, $Hash, $Perm, $Email, $Email_notify, $Upload_visibility, $agentList, $Folder, $default_bucketpool_fk='') | |
| Add a user. More... | |
| update_password_hash ($User, $Hash) | |
| Update user password hash. More... | |
This file contains common functions involving the users table.
Definition in file common-users.php.
| add_user | ( | $User, | |
| $Desc, | |||
| $Hash, | |||
| $Perm, | |||
| $Email, | |||
| $Email_notify, | |||
| $Upload_visibility, | |||
| $agentList, | |||
| $Folder, | |||
$default_bucketpool_fk = '' |
|||
| ) |
Add a user.
This also creates a group for the user and makes the user the group admin.
Parameters are the user table fields:
| string | $User | user_name |
| string | $Desc | user_desc |
| string | $Hash | user_pass |
| int | $Perm | user_perm |
| string | user_email | |
| char | $Email_notify | email_notify |
| string | $agentList | user_agent_list |
| int | $Folder | root_folder_fk |
| int | $default_bucketpool_fk | default is empty |
Definition at line 32 of file common-users.php.
| update_password_hash | ( | $User, | |
| $Hash | |||
| ) |
Update user password hash.
| string | $User | user_name |
| string | $Hash | user_pass |
Definition at line 86 of file common-users.php.