edmiGetUserBN
EdmiError edmiGetUserBN(SdaiString userName, SdaiInstance *userId);
Inquires the unique instance Id of the EDMuser with the given name.
Arguments
Type | Name | Comment |
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
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Example
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
There are no items with the selected labels at this time.