...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiGetUser(SdaiString userName,
SdaiUser *userId);
|
Inquires the unique instance Id of the EDMuser with the given name.
Note |
---|
This function has been replaced by edmiGetUserBN |
...
and has been kept for compatibility reasons only. The two functions are completely equivalent. |
...
Arguments
...
Type | Name | Comment |
SdaiString | userName | Specifies the name of the EDMuser. EDMuser names are case insensitive. |
SdaiUser | *userId | Address of the variable that will receive the numeric instanceID that uniquely identifies the EDMuser instance in the EDMdatabase |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
EdmiError rstat; SdaiUser userId; SdaiString userName = "JOHNNY"; . . . if (rstat = edmiGetUser (userName, &userId)) { /* Error in operation */ printf("\nError: %s in edmiGetUser \n", |
...
edmiGetErrorText(rstat)); |
...
goto error; |
...
} printf("\nUser with name '%s' has id %lu", userName, userId); |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|