edmiCreateUser

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


TypeNameComment
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


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

Options


  

 

Example


 

 EdmiError rstat;
 ...
 if (rstat = edmiCreateUser("hkd")) {
 /* Error in operation */ 
 printf("\nError in edmiCreateUser: %s\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.