CreateUser returns MembershipCreateStatus ProviderError when user exists
Posted: Thu 21 Sep 2006 04:51
Dear Support,
When I create a user via the CreateUser API of the Membership class and if the user already exists, OraDirect does not return the exact reason through the By ref parameter MembershipCreateStatus status and it only returns a 'ProviderError'.
I would expect (for example, 'DuplicateUserName') instead of the ProviderError, so I can inform the user to choose another user name.
If the CreateUser was successful, it does return the right status which is 'Success'.
Please can you investigate.
Thanks
When I create a user via the CreateUser API of the Membership class and if the user already exists, OraDirect does not return the exact reason through the By ref parameter MembershipCreateStatus status and it only returns a 'ProviderError'.
I would expect (for example, 'DuplicateUserName') instead of the ProviderError, so I can inform the user to choose another user name.
If the CreateUser was successful, it does return the right status which is 'Success'.
Please can you investigate.
Thanks