edmiGetGroup

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


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

 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

There are no items with the selected labels at this time.

Â