页面树结构
转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

版本 1 当前 »

(本文档仅供参考)

问题

          如果想根据用户所拥有的角色判断数据的使用权限,现在产品没有该函数,如何获取当前登陆用户的所属角色?

解决方案

         

         选择【增加自定义函数】,然后把CurrentUserAllRoleIDs和CurrentUserAllRoleNames直接填写进去,具体如下:

         1、【公共设置】--》【函数列表】--》【系统函数】--》【字符串】--》右键--》【增加自定义函数】:
         
        2、添加CurrentUserAllRoleIDs和CurrentUserAllRoleNames
        
        
        3、测试函数效果:
        
          
       

Viewtracker License Missing

There is a problem with the license of the Viewtracker addon. Please check if you have a valid license.

授权码细节

  • 无标签