UserAdminService UserAdminService(
)
|
|
void changePassword(
$id,
$newpass
)
|
|
Parameters:
API Tags:
boolean checkIfUsernameExists(
String
$name
)
|
|
Checks if the given Username exists.
Parameters:
|
String |
$name: |
the name that you want to test about its existence |
API Tags:
| Return: | true if Username allready exists, else false |
| Deprecated: | |
int createUser(
String
$username, String
$password, [int
$language = 'en'], [boolean
$aktiv = false], [
$groupID = 0]
)
|
|
This creates a User within BIGACE.
Parameters:
|
String |
$username: |
the Username |
|
String |
$password: |
the password (will be crypted while saving to DB) |
|
int |
$language: |
the language ID |
|
boolean |
$aktiv: |
A boolean representing rhe Active Status for this User within BIGACE |
|
|
$groupID: |
|
API Tags:
| Return: | the ID for the new generated User |
| Deprecated: | |
void deactivateUser(
$id
)
|
|
Parameters:
API Tags:
mixed deleteUser(
int
$id
)
|
|
Deletes the given User.
This will not work for the BIGACE and ANONYMOUS USER! We do not have to delete any right, because each user has a group and the rights are group dependend!
Parameters:
|
int |
$id: |
the User ID for the User that will be deleted |
API Tags:
| Return: | the result of this deletion process |
| Deprecated: | |