edmiGetMyUserId


 

EdmiError edmiGetMyUserId(SdaiInstance *userId);

Returns the numeric instanceID that uniquely identifies the EDMuser instance of the current calling user in the EDMdatabase.

Arguments


TypeNameComment
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.

Â