...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiCreateUser(SdaiString userName);
|
Defines a new EDMuser in the EDMdatabase. The new EDMuser will have an empty, (blank) password, hence the password should be defined the first time the new EDMuser is accessing (connecting to) the actual EDMdatabase.
...
EDMuser names must be unique within one EDMdatabase. An EDMuser name can consist of letters, digits and hyphens. The first character must be a letter. EDMuser names are case insensitive.
...
The edmiCreateDatabase function defines the following two EDMuser names: superuser and sdai-user.
...
This command is only permitted for the superuser.
...
Arguments
...
Type | Name | Comment |
SdaiString | userName | Specifies the name of a new EDMuser in the actual EDMdatabase. The EDMuser name can consist of letters, digits and hyphens. The first character must be a letter. EDMuser names are case insensitive. see EDMuserName |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
EdmiError rstat; ... if (rstat = edmiCreateUser("hkd")) { |
...
/* Error in operation */ |
...
printf("\nError in edmiCreateUser: %s\n", |
...
edmiGetErrorText(rstat)); |
...
goto error; |
...
}
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|