I am finding myself with the issue of needing to execute the postgres createuser.exe from a batch script and cannot get it to stop prompting me with the following:
Enter name of role to add:
my batch script looks like this:
echo calling createuser!
createuser username %super_user% -s -U Super_Postgres s -q
Where %super_user% is a com...
I implemented a custom Profile object in code as described by Joel here:
http://stackoverflow.com/questions/426609/asp-net-membership-how-to-assign-profile-values
I can't get it to work when I'm creating a new user, however. When I do this:
Membership.CreateUser(userName, password);
Roles.AddUserToRole(userName, "MyRole");
the user...
I'm using the ASP.NET Configuration for my users and their roles. I'm also using the MembershipUser class with its function CreateUser. I have it working, but was curious about something.
When I add a new user and pass this function its password parameter (which in this case is coming from a textbox on the page). It seems like it only ...
Hi Guys,
I'm trying to create a user using Membership.CreateUser. After I pass the following line:
MembershipUser newUser = Membership.CreateUser(_UserName, _Password, _UserName);
I check the 'aspnet_Membership' table and I find out that the user is indeed created. At that point I stop the application and I check the table ...
Now i'm trying to do registration/authorization by my own (ASP.NET MVC). I've already implemented RoleProvider class and ValidateUser from MembershipProvider class. Now i'm trying to implement CreateUser, but i don't want to use original parameters, because i got my own. It's possible somehow to not use original parameters or create my o...
This is what I did.
mysql> CREATE USER 'matrix'@'%.something.com' IDENTIFIED BY 'weak';
ERROR 1396 (HY000): Operation CREATE USER failed for 'matrix'@'%.something.com'
mysql> CREATE USER 'foo'@'%.something.com' IDENTIFIED BY 'weak';
Query OK, 0 rows affected (0.00 sec)
And this is what I end up with:
mysql> select user,host from mysq...