5

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.

4

3 に答える 3

1

情報が機密ではないことを考えると、AD ログインに対して値が保存された単純なデータベースで十分です。

また、ASP.Net ユーザー データベースが既にあるので、そこに情報を格納するのが最適なオプションです。

于 2008-11-02T20:13:37.543 に答える
0

おそらく、SHAREPOINT\SYSTEM ユーザーのみがアクセスできるグローバル リストであり、SPSecurity.RunWithElevatedPrivileges 関数でクエリを実行できます。

欠点: そのリストを読み書きするには、カスタム コードが必要です。

于 2008-10-31T13:29:45.270 に答える
0

クッキー?

確かに制限はありますが、javascript を実行して値を追加/編集するためのコントロールを作成するのはかなり簡単です。

于 2008-10-31T20:05:13.333 に答える