0

Hello,

Is there a way to create a user using Membership.CreateUser for another application?

I have tho websites (A and B) and when I create a user for website A I need a user to be created B also. I can't link them to use the same database. Is there a way to specify the application or the database where a user should be created. I thought this issue would be fairly common, but can't find any clues anywhere.

All help much appreciated.

minbor

3
Contributors
5
Replies
6
Views
5 Years
Discussion Span
Last Post by minbor
0

Hi,
Thanks for you reply. As I mentioned in my post, I can't do that (not allowed).

Edited by minbor

1

I think you can only do that if you specify another Provider. Is accessing the other database from code allowed? Another option would be to write a database trigger on A (assuming they share a local user).

0

Using a second membership provider to connect to the other website's database worked.

Thank You very much.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.