Description Usage Arguments Value Examples
View source: R/AmerAssocIndividInvestorsAAII.R
Create a user exists in the database.
1 2 3 4 5 6 7 8 9 | dbCreateUserEM(
connName,
user,
attributes = c("LOGIN"),
password = user,
env,
display = TRUE,
exec = TRUE
)
|
connName |
String. Default is "connEM". Contains the name of the variable that contains the name of the "connection" in the environment "env". |
user |
String. Required. Potential user in the database. |
attributes |
vector of Strings. User attributes. |
password |
String. Defaults to "user". |
env |
Environment. Default is the .Global environment. This is the environment to return the connection object "connEM". |
display |
Logical. Whether to display the query (defaults to |
exec |
Logical. Whether to execute the query (defaults to |
TRUE(success) or Error(failure)
1 2 3 4 5 6 | ## Not run:
# Does not check if the user already exists
# A user who manages a [future] "personal" database . . .
dbCreateUserEM(user = "r_user", attributes = c("LOGIN", "CREATEDB", "CREATEROLE"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.