Questions tagged [createuser]

144 questions
2
votes
2 answers

MembershipUser class CreateUser password parameter

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…
d3020
  • 537
  • 3
  • 7
  • 16
2
votes
1 answer

How to use Terminal, launched from OSX setup screen, to create new user?

I need to create a new user account on a system drive (10.10.1) because I am unable to log in to the only existing one. I can however get into the OSX setup from a prepared USB flash drive, and launch Terminal there. I guess it would be possible to…
ommi
  • 23
  • 1
  • 3
2
votes
2 answers

Meteor add additional fields to user account at root level

How can I add additional fields into the user collection. I understand the options object allows four fields - username, email password and profile. So on Accounts.onCreateUser, is there a way to add additional fields at root level (not inside the…
meteorBuzz
  • 3,110
  • 5
  • 33
  • 60
2
votes
3 answers

Get following error when creating user in Django: type object 'User' has no attribute 'objects'

I have written a view to register a new user for my app but when I try running it, I get the error: type object 'User' has no attribute 'objects' My code looks as follows: from django.contrib.auth import authenticate, login, logout from…
David Brown
  • 908
  • 2
  • 13
  • 25
2
votes
1 answer

Creating mysql user vs a custom table with user data

So I was creating an application that required user log in, with each user having some privilege. Now this model closely resembled that of mysql's database where there can be many user, with each user having their own privileges. So currently, for…
Ayush choubey
  • 606
  • 6
  • 23
2
votes
2 answers

Postgres createuser wants a password (not my system password)

I installed the latest version of postgres on OS X Lion using homebrew. The path is correct: $ which postgres /usr/local/bin/postgres $ which psql /usr/local/bin/psql and brew doctor is happy. However, when I try to create a user, this happens: $…
harumph
  • 169
  • 3
  • 10
1
vote
1 answer

Why are commas not allowed in a username when using the SqlMembershipProvider?

Although NOT documented as a part of the CreateUser method on MSDN, the SqlMembershipProvider throws an ArgumentException if you try to do anything with a username containing a comma (including trying to create a user). Commas in passwords appear to…
1
vote
1 answer

Post Request don't add the object in database (nestJs/phpmyadmin)

i'm trying to make a signup methode in nestJs. But the matter is that when i use my POST request to create a new user, my database don't add this new user in her list of users. I created this method: createUser(data: AuthDto){ const user =…
djodjoxyz
  • 11
  • 2
1
vote
0 answers

Add user to group in signal post_save

I want to add a user to a group after the user object is saved. Each user has a user type corresponding to the group the user belongs to. For example, if the user_type is 2, then the user belongs to Group_3, and so on. This is my code: class…
1
vote
1 answer

Grant create user permission Snowflake

Its a newbie question but still I am trying to grant create user permission to sysadmin role from the accountAdmin role so that I can create users in the sysadmin role. The statement I am trying to execute is: grant create user to role…
1
vote
0 answers

Unable to create user from Amazon Chime

I am trying to create user using "CreateUser" function of Amazon Chime through javascript but I am getting "BadRequestException: Service received a bad request". Has anyone faced this issue? const params = { AccountId: process.env.ACCOUNT_ID…
1
vote
1 answer

MySql The user specified as a definer ('mysql.infoschema'@'localhost') does not exist

I tried to list all databases by running this command mysql> show databases; and got below error:- ERROR 1449 (HY000): The user specified as a definer ('mysql.infoschema'@'localhost') does not exist then I tried to create user mysql> create user…
Shankar S Bavan
  • 922
  • 1
  • 12
  • 32
1
vote
1 answer

Asp.net Membership Provider custom CreateUser

I am trying to get my custom "CREATEUSER" to work but I think I'm having problems in my web.config. Thanks to help here, I've gotten the MEMBERSHIP section written but my MEMBERSHIP.CREATEUSER command is failing to logon to the database. The error…
Susan
  • 1,822
  • 8
  • 47
  • 69
1
vote
1 answer

How to check if an Airflow user already exists in the airflow DB in Python code

I am new to airflow and got a task to add basic auth for Airflow Webserver. I implemented that using the below python code(from https://airflow.apache.org/docs/apache-airflow/1.10.1/security.html#password). I was able to create a user and…
hardy
  • 49
  • 1
  • 3
1
vote
2 answers

Oracle CREATE USER privilege

Good evening! The problem is- I granted certain user a privilege to create, alter and drop users (CREATE USER, ALTER USER, DROP USER) but when I try to CREATE USER using that user, it says that that user has insufficient privileges. What should be…
predefined_
  • 171
  • 1
  • 11
1 2
3
9 10