Page 1 of 1

ProviderUserKey from API CreateUser

Posted: Mon 25 Sep 2006 08:04
by afma
Dear Support,

I am calling the API CreateUser via using your provider, then after the user is created I need to retrieve the ProviderUserKey, but I am getting a different Guid from the one was stored in the Membership Database for the newly created user.

Please would you check.

Thanks

Posted: Mon 25 Sep 2006 15:04
by Alexey
We are investigating this. You'll be notified on results as soon as possible.

Posted: Thu 26 Oct 2006 14:28
by Alexey
Everything works correctly. If you create user using the following function:

Code: Select all

MembershipUser aNewUser = Membership.CreateUser("bobby", "poppy", "[email protected]", "dummy?", "yep!", true, new Guid("04547943-9acf-4bff-a970-9f2e91026d98"), out aStatus);
and then observe aNewUser.ProviderUserKey property, it would be {04547943-9acf-4bff-a970-9f2e91026d98}.

Posted: Mon 30 Oct 2006 02:38
by afma
This is working correctly as you said, I followed your recommendation, thanks very much.

Posted: Wed 01 Nov 2006 13:17
by Alexey
You are welcome.