除配置文件外,Sharepoint 中存储用户设置的位置

发布于 2024-07-09 05:11:52 字数 435 浏览 6 评论 0原文

用户配置文件是否适合存储用户选择的自定义网格中每页的项目数等信息? (我可以将其存储在视图中,但不会以这种方式存储在每个用户中)。

我的第一个想法是将这些设置存储在用户配置文件中,但是以编程方式创建用户配置文件属性的访问权限存在问题,归根结底,您要么必须在 SSP 中授予每个用户“管理员用户配置文件”权限,要么您 必须在域用户下运行应用程序池,而不是网络服务。 这两种情况对我来说都是不现实的,所以我现在正在寻找另一种方法来存储此类“每用户”设置。

谢谢!

编辑:我现在正在考虑使用额外的数据库来存储用户属性的 ASP.NET 配置文件机制。

Is user profiles an appropriate place to store things like number of items per page in a custom grid user selected? (I you can store it in the view, but it won't be per user this way).

My first though was to store these settings in user profiles, but there are problems with access permissions for programmatically creating user profile properties boiling down to you either have to give every user 'Manager User Profiles' permission in SSP or you have to run the application pool under a domain user, not NETWORK SERVICE. Both scenarios are unrealistic for me, so I'm now looking for another way to store such 'per user' settings.

Thanks!

Edit: I'm now considering ASP.NET profile mechanism with an additional DB to store user properties.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

娇纵 2024-07-16 05:11:52

鉴于信息不敏感,存储针对 AD 登录的值的简单数据库就足够了。

由于您已经拥有 ASP.Net 用户数据库,因此存储信息将是最好的选择。

Given that the information is not sensitive a simple database with values stored against AD login should suffice.

And as you have the ASP.Net user database already, storing the information there would be the best option.

淡淡绿茶香 2024-07-16 05:11:52

也许是一个全局列表,只能由 SHAREPOINT\SYSTEM 用户访问,然后您可以在 SPSecurity.RunWithElevatedPrivileges 函数中进行查询。

缺点:您需要自定义代码来读取/写入该列表。

Maybe a Global List, that is only accessible for the SHAREPOINT\SYSTEM User and that you can then Query in a SPSecurity.RunWithElevatedPrivileges Function.

Disadvantage: You require Custom code to read/write to that list.

断爱 2024-07-16 05:11:52

曲奇饼?

当然它们有局限性,但是创建控件来运行 javascript 来添加/编辑值是相当容易的

Cookie?

Sure they have limitations, but it is fairly easy to create the control to run javascript to add/edit the value

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文