NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim::Role类 参考

圈组身份组 更多...

#include <nim_qchat_role_cpp.h>

静态 Public 成员函数

static void CreateServerRole (const QChatCreateServerRoleParam &param)
 在服务器中创建一个身份组
 
static void UpdateServerRole (const QChatUpdateServerRoleParam &param)
 更新服务器中指定身份组
 
static void UpdateServerRolePriorities (const QChatUpdateServerRolePrioritiesParam &param)
 批量更新服务器身份组优先级,如果具备修改身份组优先级权限,则服务器会应用您传递的参数中身份组优先级列表所有的内容 如在 UI 展示中,允许拖拽对身份组优先级进行排序,则在排序完成后将最终的排序列表传递到参数中即可。
 
static void DeleteServerRole (const QChatDeleteServerRoleParam &param)
 从服务器中删除指定身份组
 
static void GetServerRoles (const QChatGetServerRolesParam &param)
 获取指定服务器下已创建的身份组列表
 
static void AddMembersToServerRole (const QChatAddMembersToServerRoleParam &param)
 添加部分成员到服务器指定的身份组中
 
static void RemoveMembersFromServerRole (const QChatRemoveMembersFromServerRoleParam &param)
 从服务器指定身份组移除部分成员
 
static void GetMembersFromServerRole (const QChatGetMembersFromServerRoleParam &param)
 分页从服务器指定身份组中查询成员列表
 
static void AddChannelRole (const QChatAddChannelRoleParam &param)
 添加一个身份组到频道
 
static void UpdateChannelRole (const QChatUpdateChannelRoleParam &param)
 更新频道中指定身份组的信息
 
static void RemoveChannelRole (const QChatRemoveChannelRoleParam &param)
 从频道中移除指定身份组
 
static void GetChannelRoles (const QChatGetChannelRolesParam &param)
 获取频道下所有已分配的身份组信息
 
static void AddMemberRole (const QChatAddMemberRoleParam &param)
 在频道中添加针对指定人的特殊权限配置
 
static void UpdateMemberRole (const QChatUpdateMemberRoleParam &param)
 更新频道中指定人的特殊权限配置
 
static void RemoveMemberRole (const QChatRemoveMemberRoleParam &param)
 从频道中移除指定人的特殊权限配置
 
static void GetMemberRoles (const QChatGetMemberRolesParam &param)
 分页获取频道下所有针对人的特殊权限配置列表
 
static void GetRolesByAccid (const QChatGetRolesByAccidParam &param)
 根据用户 ID 获取其已经分配的身份组列表
 
static void GetExistingServerRolesByAccids (const QChatGetExistingServerRolesByAccidsParam &param)
 根据一组用户列表查询该列表下所有用户的身份组列表信息
 
static void GetExistingChannelRolesByServerRoleIds (const QChatGetExistingChannelRolesByServerRoleIdsParam &param)
 根据一组身份组列表查询频道中已经存在的身份组
 
static void GetExistingAccidsOfMemberRoles (const QChatGetExistingAccidsOfMemberRolesParam &param)
 根据一组用户 ID 查询指定频道下的定制权限信息
 
static void GetExistingAccidsInServerRole (const QChatGetExistingAccidsInServerRoleParam &param)
 查询服务器某身份组是否包含指定成员
 
static void CheckPermission (const QChatCheckPermissionParam &param)
 查询当前登录用户是否拥有特定权限
 
static void CheckPermissions (const QChatCheckPermissionsParam &param)
 批量查询当前登录用户是否拥有特定权限
 
static void AddChannelCategoryRole (const QChatAddChannelCategoryRoleParam &param)
 添加一个身份组到频道分组
 
static void RemoveChannelCategoryRole (const QChatRemoveChannelCategoryRoleParam &param)
 从频道分组中移除身份组
 
static void UpdateChannelCategoryRole (const QChatUpdateChannelCategoryRoleParam &param)
 更新频道分组中的身份组
 
static void GetChannelCategoryRolesPage (const QChatGetChannelCategoryRolesPageParam &param)
 分页获取频道分组下的身份组列表
 
static void AddChannelCategoryMemberRole (const QChatAddChannelCategoryMemberRoleParam &param)
 定制指定成员在频道分组中的权限
 
static void RemoveChannelCategoryMemberRole (const QChatRemoveChannelCategoryMemberRoleParam &param)
 取消指定成员在频道分组中的权限
 
static void UpdateChannelCategoryMemberRole (const QChatUpdateChannelCategoryMemberRoleParam &param)
 更新指定成员在频道分组中的权限
 
static void GetChannelCategoryMemberRolesPage (const QChatGetChannelCategoryMemberRolesPageParam &param)
 分页获取频道分组下的成员权限列表
 

详细描述

圈组身份组

成员函数说明

◆ AddChannelCategoryMemberRole()

void nim::Role::AddChannelCategoryMemberRole ( const QChatAddChannelCategoryMemberRoleParam param)
static

定制指定成员在频道分组中的权限

参数
param参数见
参见
QChatAddChannelCategoryMemberRoleParam

◆ AddChannelCategoryRole()

void nim::Role::AddChannelCategoryRole ( const QChatAddChannelCategoryRoleParam param)
static

添加一个身份组到频道分组

参数
param参数见
参见
QChatAddChannelCategoryRoleParam

◆ AddChannelRole()

void nim::Role::AddChannelRole ( const QChatAddChannelRoleParam param)
static

添加一个身份组到频道

参数
param参数见
参见
QChatAddChannelRoleParam

◆ AddMemberRole()

void nim::Role::AddMemberRole ( const QChatAddMemberRoleParam param)
static

在频道中添加针对指定人的特殊权限配置

参数
param参数见
参见
QChatAddMemberRoleParam

◆ AddMembersToServerRole()

void nim::Role::AddMembersToServerRole ( const QChatAddMembersToServerRoleParam param)
static

添加部分成员到服务器指定的身份组中

参数
param参数见
参见
QChatAddMembersToServerRoleParam

◆ CheckPermission()

void nim::Role::CheckPermission ( const QChatCheckPermissionParam param)
static

查询当前登录用户是否拥有特定权限

参数
param参数见
参见
QChatGetRolesByAccidParam

◆ CheckPermissions()

void nim::Role::CheckPermissions ( const QChatCheckPermissionsParam param)
static

批量查询当前登录用户是否拥有特定权限

参数
param参数见
参见
QChatCheckPermissionsParam

◆ CreateServerRole()

void nim::Role::CreateServerRole ( const QChatCreateServerRoleParam param)
static

在服务器中创建一个身份组

参数
param参数见
参见
QChatCreateServerRoleParam

◆ DeleteServerRole()

void nim::Role::DeleteServerRole ( const QChatDeleteServerRoleParam param)
static

从服务器中删除指定身份组

参数
param参数见
参见
QChatDeleteServerRoleParam

◆ GetChannelCategoryMemberRolesPage()

void nim::Role::GetChannelCategoryMemberRolesPage ( const QChatGetChannelCategoryMemberRolesPageParam param)
static

分页获取频道分组下的成员权限列表

参数
param参数见
参见
QChatGetChannelCategoryMemberRolesPageParam

◆ GetChannelCategoryRolesPage()

void nim::Role::GetChannelCategoryRolesPage ( const QChatGetChannelCategoryRolesPageParam param)
static

分页获取频道分组下的身份组列表

参数
param参数见
参见
QChatGetChannelCategoryRolesPageParam

◆ GetChannelRoles()

void nim::Role::GetChannelRoles ( const QChatGetChannelRolesParam param)
static

获取频道下所有已分配的身份组信息

参数
param参数见
参见
QChatGetChannelRolesParam

◆ GetExistingAccidsInServerRole()

void nim::Role::GetExistingAccidsInServerRole ( const QChatGetExistingAccidsInServerRoleParam param)
static

查询服务器某身份组是否包含指定成员

void GetExistingAccidsInServerRole(const QChatGetExistingAccidsInServerRoleParam& param)

参数
param参数见
参见
QChatGetExistingAccidsInServerRoleParam

◆ GetExistingAccidsOfMemberRoles()

void nim::Role::GetExistingAccidsOfMemberRoles ( const QChatGetExistingAccidsOfMemberRolesParam param)
static

根据一组用户 ID 查询指定频道下的定制权限信息

参数
param参数见
参见
QChatGetExistingAccidsOfMemberRolesParam

◆ GetExistingChannelRolesByServerRoleIds()

void nim::Role::GetExistingChannelRolesByServerRoleIds ( const QChatGetExistingChannelRolesByServerRoleIdsParam param)
static

根据一组身份组列表查询频道中已经存在的身份组

参数
param参数见
参见
QChatGetExistingChannelRolesByServerRoleIdsParam

◆ GetExistingServerRolesByAccids()

void nim::Role::GetExistingServerRolesByAccids ( const QChatGetExistingServerRolesByAccidsParam param)
static

根据一组用户列表查询该列表下所有用户的身份组列表信息

参数
param参数见
参见
QChatGetExistingServerRolesByAccidsParam

◆ GetMemberRoles()

void nim::Role::GetMemberRoles ( const QChatGetMemberRolesParam param)
static

分页获取频道下所有针对人的特殊权限配置列表

参数
param参数见
参见
QChatGetMemberRolesParam

◆ GetMembersFromServerRole()

void nim::Role::GetMembersFromServerRole ( const QChatGetMembersFromServerRoleParam param)
static

分页从服务器指定身份组中查询成员列表

参数
param参数见
参见
QChatGetMembersFromServerRoleParam

◆ GetRolesByAccid()

void nim::Role::GetRolesByAccid ( const QChatGetRolesByAccidParam param)
static

根据用户 ID 获取其已经分配的身份组列表

参数
param参数见
参见
QChatGetRolesByAccidParam

◆ GetServerRoles()

void nim::Role::GetServerRoles ( const QChatGetServerRolesParam param)
static

获取指定服务器下已创建的身份组列表

参数
param参数见
参见
QChatGetServerRolesParam

◆ RemoveChannelCategoryMemberRole()

void nim::Role::RemoveChannelCategoryMemberRole ( const QChatRemoveChannelCategoryMemberRoleParam param)
static

取消指定成员在频道分组中的权限

参数
param参数见
参见
QChatRemoveChannelCategoryMemberRoleParam

◆ RemoveChannelCategoryRole()

void nim::Role::RemoveChannelCategoryRole ( const QChatRemoveChannelCategoryRoleParam param)
static

从频道分组中移除身份组

参数
param参数见
参见
QChatRemoveChannelCategoryRoleParam

◆ RemoveChannelRole()

void nim::Role::RemoveChannelRole ( const QChatRemoveChannelRoleParam param)
static

从频道中移除指定身份组

参数
param参数见
参见
QChatRemoveChannelRoleParam

◆ RemoveMemberRole()

void nim::Role::RemoveMemberRole ( const QChatRemoveMemberRoleParam param)
static

从频道中移除指定人的特殊权限配置

参数
param参数见
参见
QChatRemoveMemberRoleParam

◆ RemoveMembersFromServerRole()

void nim::Role::RemoveMembersFromServerRole ( const QChatRemoveMembersFromServerRoleParam param)
static

从服务器指定身份组移除部分成员

参数
param参数见
参见
QChatRemoveMembersFromServerRoleParam

◆ UpdateChannelCategoryMemberRole()

void nim::Role::UpdateChannelCategoryMemberRole ( const QChatUpdateChannelCategoryMemberRoleParam param)
static

更新指定成员在频道分组中的权限

参数
param参数见
参见
QChatUpdateChannelCategoryMemberRoleParam

◆ UpdateChannelCategoryRole()

void nim::Role::UpdateChannelCategoryRole ( const QChatUpdateChannelCategoryRoleParam param)
static

更新频道分组中的身份组

参数
param参数见
参见
QChatUpdateChannelCategoryRoleParam

◆ UpdateChannelRole()

void nim::Role::UpdateChannelRole ( const QChatUpdateChannelRoleParam param)
static

更新频道中指定身份组的信息

参数
param参数见
参见
QChatUpdateChannelRoleParam

◆ UpdateMemberRole()

void nim::Role::UpdateMemberRole ( const QChatUpdateMemberRoleParam param)
static

更新频道中指定人的特殊权限配置

参数
param参数见
参见
QChatUpdateMemberRoleParam

◆ UpdateServerRole()

void nim::Role::UpdateServerRole ( const QChatUpdateServerRoleParam param)
static

更新服务器中指定身份组

参数
param参数见
参见
QChatUpdateServerRoleParam

◆ UpdateServerRolePriorities()

void nim::Role::UpdateServerRolePriorities ( const QChatUpdateServerRolePrioritiesParam param)
static

批量更新服务器身份组优先级,如果具备修改身份组优先级权限,则服务器会应用您传递的参数中身份组优先级列表所有的内容 如在 UI 展示中,允许拖拽对身份组优先级进行排序,则在排序完成后将最终的排序列表传递到参数中即可。

参数
param参数见
参见
QChatUpdateServerRolePrioritiesParam

该类的文档由以下文件生成: