1

角色管理 | EasyDingTalk

 2 years ago
source link: https://easydingtalk.github.io/role.html#%E8%8E%B7%E5%8F%96%E8%A7%92%E8%89%B2%E8%AF%A6%E6%83%85
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

# 角色管理

# 获取角色列表

$app->role->list($offset = null, $size = null);

# 获取角色下的员工列表

$app->role->getUsers($roleId, $offset = null, $size = null);

# 创建角色组

$app->role->createGroup($name);

# 获取角色组

$app->role->getGroups($groupId);

# 获取角色详情

$app->role->get($roleId);

# 创建角色

$app->role->create($groupId, $roleName);

# 更新角色

$app->role->update($roleId, $roleName);

# 删除角色

$app->role->delete($roleId);

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK