是否仅自动检索当前用户的配置文件数据

发布于 2024-07-25 01:01:49 字数 415 浏览 1 评论 0原文


1) 我假设仅自动检索当前用户的配置文件数据,而必须手动检索其他用户的配置文件数据?


2) 我不确定以下引用试图传达什么:

如果您在 web.config 文件中定义的配置文件不存在于序列化配置文件信息中,则 ProfileModule 将仅使用默认值

  • 我假设“序列化配置文件信息”是指存储在数据库中的配置文件数据? 如果是这样,那么我假设引用是指代码第一次访问 Profile 对象并且 Asp.Net 尝试检索完整的配置文件数据的情况? 如果数据库中没有存储该特定配置文件的任何配置文件数据,ProfileModule 将返回配置文件属性的默认值?


谢谢

1) I assume profile data is automatically retrieved only for current user, while profile data for other users must be retrieved manually?

2)
I’m not sure what the following quote is trying to convey:

If you define a profile in web.config file that doesn’t exist in the serialized profile information, the ProfileModule will just use the default value

  • I assume “serialized profile information” refers to profile data stored in database? If so, then I assume quote refers to situation where code accesses for the first time Profile object and Asp.Net tries to retrieve complete profile data? And if there isn’t any profile data stored in DB for that particular profile, ProfileModule will return default values for profile-properties?

thanx

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

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

发布评论

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

评论(1

清晨说晚安 2024-08-01 01:01:49
  1. 是的。 Page 类的 Profile 属性返回当前用户的配置文件数据。
  2. 是的。
  1. Yes. The Profile property of the Page class returns the profile data for the current user.
  2. Yes.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文