Users()
create()
deleteUserByID()
deleteUserByUsername()
getAccessibleUsers()
$db
$table
Users(string $table)
string
The table to use as information source
create(string $username) : int
string
Specifies the username
int
Userid of created userdeleteUserByID(string $userid) : bool
string
Specifies the user ID
bool
True if the delete was successfuldeleteUserByUsername($username) : bool
bool
True if the delete was successfulgetAccessibleUsers(array $perms, bool $includeAdmins) : array
array
Permissions array
bool
Flag to get admins (admin and sysadmin) too
array
Array of user objects$db : object
access | private |
---|
$table : string
access | private |
---|