I am using the builtin ASP.NET logon and user management features. Is there a way to just identify if a username or email address is already registered? I would’ve thought it’s part of FormsAuthentication or similar, but can’t find such a function.
Share
Check whether
Membership.GetUsermethod returns a null value or not.If you want to create a new user and you’re doing this check as a part of that process, try calling
Membership.CreateUsermethod and check theMembershipCreateStatusto get the failure reason, in case it fails.