Request | Supported |
---|---|
Create User | ✅ |
Update User | ✅ |
use CodebarAg\DocuWare\Requests\General\UserManagement\CreateUpdateUsers\CreateUser;
$user = $connector->send(new CreateUser(new User(
name: $timestamp.' - Test User',
dbName: $timestamp,
email: $timestamp.'[email protected]',
password: 'TESTPASSWORD',
)))->dto();
use CodebarAg\DocuWare\Requests\General\UserManagement\CreateUpdateUsers\UpdateUser;
$user->name .= ' - Updated';
$user->active = false;
$user = $connector->send(new UpdateUser($user))->dto();