...
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Type | Name | Comment |
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 | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
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) | ||||||
---|---|---|---|---|---|---|
|