Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
EdmiError edmiGetUserBN(SdaiString   userName,
                         SdaiInstance *userId);

Inquires the unique instance Id of the EDMuser with the given name.

...

Arguments

...

TypeNameComment
SdaiString

userName

Specifies the name of the EDMuser. EDMuser names are case insensitive.

SdaiInstance

*userId

Address of the variable that will receive the numeric instanceID that uniquely identifies the EDMuser instance in the EDMdatabase

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiUser userId;
 SdaiString userName = "JOHNNY";
 . . .
 if (rstat = edmiGetUserBN(userName, &userId)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiGetUserBN \n",

...


 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 printf("\nUser with name '%s' has id %lu", userName, userId);

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"