CreateUser
This class represents the statement
CREATE USER
| Methods |
| static void |
setPassword(User user, Session session, Expression password)
Set the password for the given user.
|
| static void |
setPassword(User user, Session session, Expression password)
Set the password for the given user.
Parameters:
user - the user
session - the session
password - the password
|
| static void |
setSaltAndHash(User user, Session session, Expression salt, Expression hash)
Set the salt and hash for the given user.
|
| static void |
setSaltAndHash(User user, Session session, Expression salt, Expression hash)
Set the salt and hash for the given user.
Parameters:
user - the user
session - the session
salt - the salt
hash - the hash
|
| int |
getType()
|
| int |
getType()
|
| void |
setAdmin(boolean b)
|
| void |
setAdmin(boolean b)
|
| void |
(String comment)
|
| void |
(String comment)
|
| void |
setHash(Expression e)
|
| void |
setHash(Expression e)
|
| void |
setIfNotExists(boolean ifNotExists)
|
| void |
setIfNotExists(boolean ifNotExists)
|
| void |
setPassword(Expression password)
|
| void |
setPassword(Expression password)
|
| void |
setSalt(Expression e)
|
| void |
setSalt(Expression e)
|
| void |
setUserName(String userName)
|
| void |
setUserName(String userName)
|
| int |
update()
|
| int |
update()
|
|