批量加载用户到AspNetUsers [英] Batch loading users into AspNetUsers
问题描述
嗨;
使用VS 2017,SQL Server
<我已经构建了一个需要用户登录的Web应用程序。我需要能够批量加载用户,例如从电子表格加载。此功能将位于管理员应用中, Windows,而不是Web。由于Web应用程序具有安全性,因此我已经在数据库中拥有
的AspNetUsers和相关表格。
我几乎完全是Newb at VS.但是我想自己开始编程一些。我已经构建了部分管理员部分并已连接到数据库,我现在准备添加此用户导入功能。
假设我有每个用户的电子邮件地址,用户名和DOB;并且假设我将使用DOB作为临时密码。
我一直在寻找可以用作构建框架的示例代码,但一直无法使用找到任何。
感谢您的帮助。
嗨Rol3D,
欢迎来到MSDN论坛。
>>
我已经建立了一个需要用户登录的网络应用程序。
你的类型是什么网络应用?您在Visual Studio中使用了哪些项目模板?
>>
此功能将在管理员应用中, Windows,而不是Web。
你的意思是你想在Windows应用程序上添加用户导入功能吗?
此论坛正在讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统和Visual Studio
编辑。
如果你的问题与Web Forms开发有关,我建议你去
asp.net 论坛获得专业答案。如果您的问题与asp.net无关,请告诉我,我会帮助您将此主题移至相应的论坛以获得专业答案。
感谢您的理解。
问候,
Judyzh
Hi;
Using VS 2017, SQL Server
I’ve had a web app built that requires users to log in. I need the ability to load users in batches, for example from a spreadsheet. This functionality will be in an administrator app, Windows , not Web. Since the Web app has security, I already have
the AspNetUsers and related tables in the database.
I’m a near total Newb at VS. but want to start programming some of this myself. I have part of the Administrator piece built and connected to the database already, I'm now ready to add this user import function.
Let’s say I have each user’s email address, user name and DOB; and lets say I'm going to use the DOB as a temporary password.
I’ve been looking for sample code I could use as a framework to build on, but have been unable to find any.
Thanks for any help.
Hi Rol3D,
Welcome to the MSDN forum.
>> I’ve had a web app built that requires users to log in.
What’s the type of your web app? What project template are you using in Visual Studio?
>> This functionality will be in an administrator app, Windows , not Web.
Do you mean you want to add the user import function on a windows application?
This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
And if your issue is related to Web Forms development, I suggest you go to asp.net forum to get a professional answer. If your issue is not related to asp.net, please tell me, and I will help you move this thread to corresponding forum for a professional answer.
Thanks for your understanding.
Regards,
Judyzh
这篇关于批量加载用户到AspNetUsers的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!