Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
EdmiError edmiGetGroup(SdaiString groupName,
                        SdaiGroup  *groupId);

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

...

This function has been replaced by edmiGetGroupBN() and has been kept for compatibility reasons only. The two functions are completely equivalent.

...

Arguments

...

TypeNameComment
SdaiString

groupName

Specifies the name of the EDMgroup of interrest the EDMdatabase. EDMgroup names are case insensitive.

SdaiGroup

*groupId

Address of a variable that will receive a numeric groupID that uniquely identifies the edm_group instance in the EDMdatabase.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiGroup groupId;
 SdaiString groupName = "SUPERVISOR";
 . . .
  
 if (rstat = edmiGetGroup(groupName, &groupId)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiGetGroup \n",

...


 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 printf("\nGroup with name '%s' has id %lu", groupName, groupId);

 

See also

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