Code Block | ||||
---|---|---|---|---|
| ||||
|
<Description>
Arguments
<argument>
Return Value
...
Options
Option | Comment |
optionname | comment |
Example
Code Block | ||
---|---|---|
| ||
<example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
EdmiError edmiChangeMyUser(SdaiUnsignedInt sessionUserKey);
|
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.
Arguments
...
Type | Name | Comment |
SdaiUnsignedInt | SessionUserKey | The session key returned from edmiChangeMyUserBN. |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
EdmiError
Code Block | ||
---|---|---|
| ||
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); |
...
}
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|