Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
languagecpp
themeConfluence
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

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
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 (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"