vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need Help Mass Account Creation (https://vborg.vbsupport.ru/showthread.php?t=219291)

crepit 07-23-2009 08:20 PM

Need Help Mass Account Creation
 
I have an existing ASP.NET site in which user accounts are automatically created via a stored procedure for that site. There are about 17000 users. I use asp.net security to protect the forums from outside users. There could be as many as 100 accounts added daily to the site.

What would be the best option to create the accounts.

1. Add the user directly to the vB user table. I know that the schema could change between versions and I would need to change my script accordingly. Any other reasons not to use this method?

2. Use XML_RPC. I don't want to use this option since users are added via a scheduled job (stored procedure) and I am securing outside access to the forums using asp.net security. Also I don't want to add a single user at a time or try to pass an array of a few thousand users via XML_RPC.

3. SOAP_API - I don't want to use this for the same reason as XML_RPC and it's unsupported.

Any other options/suggestions?

Thanks,

Mike

Dismounted 07-24-2009 10:31 AM

The only problem with option 1, other than the reason you have stated, is that you will need to add rows to other tables, as well as updating caches (e.g. newest member). This is all done automatically if users are added via the user data manager, however, since you're using ASP.NET, the only solution you'd probably "accept" is to replicate all the queries done in the DM. Also be careful of queries added by modifications into hooks inside the DM.


All times are GMT. The time now is 04:42 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00885 seconds
  • Memory Usage 1,705KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete