简体   繁体   English

用于编辑和维护用户配置文件设置的UI页面

[英]UI page for editing and maintaining Profile settings for a User

In asp.net Webforms apps, is there not any kind of maintenance UI page to edit and maintain the Profile properties of a User (I'm using VS2008 and the Web Application template), like in the WSAT Web Site Administratration Tool where you already can edit the basic Membership and Role properties for a User? 在asp.net Webforms应用程序中,没有任何类型的维护UI页面可以编辑和维护用户的Profile属性(我正在使用VS2008和Web应用程序模板),就像您已经在WSAT网站管理工具中一样可以编辑用户的基本成员资格和角色属性? I'm using the basic SQL Express data tables and the basic Membership and Role providers, and now I want to begin using the Profile provider to store and access additional properties for each User I create an account for. 我正在使用基本的SQL Express数据表以及基本的成员资格和角色提供程序,现在我想开始使用配置文件提供程序为我为其创建帐户的每个用户存储和访问其他属性。 For instance, when I create a new User and assign them to a Role(s) on my web app, I use the WSAT tool, and now I also need to set certain Profile properties for them too. 例如,当我创建一个新用户并将其分配给Web应用程序上的Role(一个或多个)时,我使用了WSAT工具,现在我还需要为其设置某些Profile属性。 Is the only way to set these properties is programmatically? 设置这些属性的唯一方法是通过编程吗? Surely there is an Admininstrative type of UI page for this so you can quickly view and edit Profile properties for a User. 当然,有一个管理类型的UI页面,因此您可以快速查看和编辑用户的配置文件属性。

Roles and Membership conform to a standard schema that you can easily create a static form for editing. 角色和成员资格符合标准架构,您可以轻松创建静态表单进行编辑。 Profile details are dynamic based on your configuration settings - and building dynamic forms can be a bit tricky. 配置文件详细信息根据您的配置设置是动态的-构建动态表单可能会有些棘手。

On top of that, the default Profile provider stores all the profile information in one concatenated field, so you'd end up with a list of comma-separated values if they went for a really basic form. 最重要的是,默认的配置文件提供程序将所有配置文件信息存储在一个连接的字段中,因此,如果它们使用的是真正的基本格式,则最终将得到一个逗号分隔值的列表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM