thanks very much iam trying that, if all goes well i will reply immediate
"TestFBA Owners"].AddUser(UserName, UserName, UserName, "New User"
); it says The user does not exist or is not unique. the user is in database........please help me
soory i have not used web.sitegroups iam cheking that
web.Groups[
its give the same erro like The user does not exist or is not unique. the user is in database........please help me
As I mentioned, you can't just pass the username. You have to encode it first. See the line of code that I posted.
thanks very much the rrror got vanished,................. really how stupid iam ..............
problem solved thanks very much for immediate support, your are really gr8
iam working on change password.iam using below code to change password its working but its showing System.Web.UI.WebControls.TextBox in the database. hoe to solve it
MembershipUser currentUser = Utils.getUser(UserName);
string
MembershipProvider provider = Membership.providet;
bool
(response)
{
output.Visible =
true
;
output.Text +=
"<BR> Password is changed"
;
}
response = provider.ChangePassword(username, Oldpassword, newpassword.ToString());
if
got it worked....