<Description>
Arguments
<argument>
Return Value
Options
Option | Comment |
optionname | comment |
Example
<example>
See also
Filter by label
There are no items with the selected labels at this time.
Connecting a new EDMuser/EDMgroup without disconnecting the existing connection. Provided the new connected EDMuser/EDMgroup has sufficient access rights, all repositories and models will remain in the same open mode. Otherwise, access modes will be reduced to the highest access available.
Type | Name | Comment |
SdaiUnsignedInt | SessionUserKey | The session key returned from edmiChangeMyUserBN. |
EdmiError rstat;
SdaiUser myUserId;
SdaiUnsignedInt myKey, superKey;
edmiChangeMyUserBN("superuser", NULL, "LotR1953", &msg, &superKey);
edmiChangeMyUserBN("Gabriel", "Genesis", "abacab", &msg, &myKey);
. . .
if (modId = edmiGetModelBN("myRepository", "myModel")) {
edmiGetMyUserId(&myUserId);
edmiChangeMyUser(superKey);
edmiChangeInstanceOwner(modId, myUserId, SET_OWNER | REPLACE_CURRENT);
edmiChangeMyUser(myKey);
}
. . .