edmiGetMyUserId
Â
EdmiError edmiGetMyUserId(SdaiInstance *userId);
Returns the numeric instanceID that uniquely identifies the EDMuser instance of the current calling user in the EDMdatabase.
Arguments
Type | Name | Comment |
SdaiInstance | userId | Address of the variable that will receive the numeric instanceID that uniquely identifies the EDMuser instance in the EDMdatabase that defines the EDMuser of the caller, i.e. the EDMuser the caller is logged on the EDMserver as. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Â
Example
Â
SdaiInstance userId; EdmiError rstat; . . . if (rstat = edmiGetMyUserId (&userId)) { /* Error in operation */ printf("\nError: %s in edmiGetMyUserId\n", edmiGetErrorText(rstat)); goto error; } printf ("\MyuserId: %lu", userId); . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â