如何显示基于当前登录用户的列表项 [英] How to Show the list item based on Current login user

查看:93
本文介绍了如何显示基于当前登录用户的列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个包含所有用户数据的列表.当用户登录并查看列表时,我需要显示
仅当前登录用户的项目.任何人都可以告诉我该怎么做.

感谢

Hello All,

I have list that holds all users data.When user logs in and view the list ,I need to show
only items of a user who logged in currently.Can any one tell me how to do it.

Thanks

推荐答案

在列表中,转到高级设置.您需要将项目级别权限设置为对读取用户创建的项目"的读取访问权限,并且根据您的确切要求,还将创建和编辑"访问权限设置为:创建项目并编辑由用户创建的项目" .

这应该只在列表中显示用户自己的列表项.
On the list, go to advanced settings. You need to set the item level permissions for read access to "Read items that were created by the user" and depending upon your exact requirements, also set Create and Edit access to: "Create items and edit items that were created by the user".

This should have the effect of only showing the user''s own list items in the list.


这篇关于如何显示基于当前登录用户的列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆