ProviderUserKey from API CreateUser

ProviderUserKey from API CreateUser

Postby afma » Mon 25 Sep 2006 08:04

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
afma
 
Posts: 15
Joined: Wed 06 Sep 2006 07:11

Postby Alexey » Mon 25 Sep 2006 15:04

We are investigating this. You'll be notified on results as soon as possible.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby Alexey » Thu 26 Oct 2006 14:28

Everything works correctly. If you create user using the following function:
Code: Select all
MembershipUser aNewUser = Membership.CreateUser("bobby", "poppy", "test@test.com", "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}.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby afma » Mon 30 Oct 2006 02:38

This is working correctly as you said, I followed your recommendation, thanks very much.
afma
 
Posts: 15
Joined: Wed 06 Sep 2006 07:11

Postby Alexey » Wed 01 Nov 2006 13:17

You are welcome.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle