Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 954 Bytes

File metadata and controls

36 lines (27 loc) · 954 Bytes

Get Users

Request Supported
Get Users
Get Users by ID
Get Users of a Role
Get Users of a Group

Get Users

use CodebarAg\DocuWare\Requests\General\UserManagement\GetUsers\GetUsers;

$users = $this->connector->send(new GetUsers())->dto();

Get User By Id

use CodebarAg\DocuWare\Requests\General\UserManagement\GetUsers\GetUserById;

$user = $this->connector->send(new GetUserById($userId))->dto();

Get Users Of A Role

use CodebarAg\DocuWare\Requests\General\UserManagement\GetUsers\GetUsersOfARole;

$users = $this->connector->send(new GetUsersOfARole($roleId))->dto();

Get Users Of A Group

use CodebarAg\DocuWare\Requests\General\UserManagement\GetUsers\GetUsersOfAGroup;

$users = $this->connector->send(new GetUsersOfAGroup($groupId))->dto();