Questions tagged [createuser]
144 questions
0
votes
1 answer
createuser validation error on method with aldeed collection2
Folks,
I need help. I've been at this for sometime now and cant seem to figure it out. It should be simple. I'm using the aldeed collection2 and I cant seem to get past validation error being thrown by the create user account method. My schema is…

flt123
- 37
- 4
0
votes
3 answers
Ignoring User Exists Error in Oracle
I have created a script that creates Oracle users and grants them roles. I am unable to find a way to ignore the "user exists" error:
ORA-01920: user name '' conflicts with another user or role name.
I understand that when the script is ran, it…

Kyle Williamson
- 2,251
- 6
- 43
- 75
0
votes
1 answer
How to set "current_user" in Meteor
When I develop a Meteor app, I can get user's information from third party(not oauth), so how to set current_user variable without Accounts.loginWithPassword or Accounts.loginWith[Service] methods?
Accounts.createUser only return a userid,

Msms
- 3
- 2
0
votes
1 answer
user is being created with Membership.CreateUser and when I pass the line it is being automatically deleted from table
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…

Assaf
- 31
- 1
0
votes
3 answers
Accounts.createUser doesn't save profile
I have the following piece of code in my server/fixtures.js file:
var userId = Accounts.createUser({
username: "tester",
email: "a@b.com",
password: "foobar",
profile: { name: "Max" }
});
var user = Meteor.users.findOne({_id:…

the-bass
- 705
- 1
- 6
- 20
0
votes
1 answer
How to add a user to PostgreSQL from the Ubuntu command line?
I want to add a user and give the createdb permission to it in the PostgreSQL from a Ubuntu command line! I know this can be done by going inside consul and run this:
ALTER USER joe CREATEDB
But I want to do it from Ubuntu command line!

click
- 447
- 1
- 7
- 25
0
votes
1 answer
Create Active Directory Users PowerShell Script
I am trying to create five Active Directory Users (Manager1, Manager2, etc) and put them in an OU called Managers. I started by creating the OU manually in Active Directory Users and Computers. Then, I tried running the script but got this…

paulb
- 1
- 1
0
votes
0 answers
How to get the user id from createUser() in the newest firebase release
so it seems that i cant directly get the user.uid upon creating a user or its not implemented in the documents. I have tried this chunk of code below to no avail as authdata returns as empty. is there a workaround?
NOTE: wherever you see…

Petros Kyriakou
- 5,214
- 4
- 43
- 82
0
votes
2 answers
rowCount(), Why doesnt it work on create user ? Any options?
Creating new user in mysql as :
$query = $dbconnection->prepare("CREATE USER 'john'@'localhost' IDENTIFIED BY 'mypass'");
$query->execute();
$counts = $query->rowCount();
return $counts;
Generally in other queries, I use rowCount() to check whether…

Shasi
- 274
- 6
- 21
0
votes
1 answer
MongoDB: Not authorized on Admin
I'm beginning to use MongoDB and have spent several hours troubleshooting without resolve. From what I understand, there first needs to be a root user before there can be an authorized/admin user.
I installed in C:\mongodb\, then setup --dbpath in…

leocreatini
- 676
- 1
- 9
- 18
0
votes
2 answers
Postgres createuser.exe silent execution from batch script
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…

Woot4Moo
- 23,987
- 16
- 94
- 151
0
votes
1 answer
Website connecting to database but not reading any data
I have four websites, each of which were being accessed with a singular username/password which had privileges on all of the databases.
However, for security reasons, I've finally set up a new user for each site, with each user only having access to…

David Gard
- 11,225
- 36
- 115
- 227
0
votes
1 answer
TSQL Stored Procedure - Create User in database from another or master database
I need to create a stored procedure (1 or more) that I can call from the master db (or other db) in a scheduled job to restore permissions (user and privs) to a database that has been restored from a source db. I do not want to create the users at…

lnsmith
- 27
- 6
0
votes
1 answer
Mysql CREATEUSER command through php
So I am trying to add users to my server that can login through the mysql_connect(host,username,password) command. I currently have
$str = "CREATE USER '.$name.'@'localhost' IDENTIFIED BY '.$encryption.'"
$query = mysql_query($str);
When I run…

Wyatt
- 48
- 8
0
votes
1 answer
Creating a new user using System.Web.Providers within ASP.NET MVC4
I've been able to call Membership.CreateUser which has created the necessary Membership tables within my database, but it hasn't added the newly created user into the Users table and the MembershipCreateStatus = InvalidAnswer - not sure what this…

litterbugkid
- 3,534
- 7
- 36
- 54