tenderroni992003
asked on
Verify user exits
Hi Experts.
I"ve been searching forever and can't seem to find out how to verify that a user exists in asp.net 2.0
I'm using the Authorization/Membership Management and c#
Tahnks!
I"ve been searching forever and can't seem to find out how to verify that a user exists in asp.net 2.0
I'm using the Authorization/Membership Management and c#
Tahnks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
make sure your membership is working properly.
i.e. Are you able to create new user and login with that username?
Please provide more info on what exactly you did and what exactly you are looking for.
i.e. Are you able to create new user and login with that username?
Please provide more info on what exactly you did and what exactly you are looking for.
ASKER
guro_sami, your solution was absolutely correct! Thank you!
I fond my error. I was getting the string from a text box, but I wasn't converting the textbox text to a string. I thought that you could stop at textbox.Text, but you actually have to have
textbox.Text.ToString().
so the following works: Membership.GetUser(textbox .Text.ToSt ring())
Go figure.
Thank you so much!
I fond my error. I was getting the string from a text box, but I wasn't converting the textbox text to a string. I thought that you could stop at textbox.Text, but you actually have to have
textbox.Text.ToString().
so the following works: Membership.GetUser(textbox
Go figure.
Thank you so much!
ASKER
Thank yo so much for all of your wonderful help!
ASKER
admin: relevance: asp.net 2.0, c#, microsoft programming