...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxChangeInstanceOwner(currInst : GENERIC;
userORgroupId : GENERIC;
options : INTEGER)
status : INTEGER;
|
The xpxChangeInstanceOwner function changes the owner for the specified instance.
The argument <currInst>
Arguments
...
Type | Name | Comment |
GENERIC | currInst | specifies a numeric instanceID that uniquely identifies an instance in the |
...
EDMdatabase that for which owner is to be changed. |
...
GENERIC | userORgroupId | specifies a numeric instanceID that uniquely identifies the EDMuser or EDMgroup instance in the |
...
EDMdatabase that defines the owner of the instance. |
INTEGER |
...
options | see below |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Option | Comment |
xpxFOR_ALL_OWNED_INSTANCES |
|
xpxREMOVE_AS_ADMINISTRATOR | Remove the EDMuser or EDMgroup from the list of administrators. |
xpxUNSET_OWNER | Unset the instance owner attribute |
xpxUNSET_OWNER_GROUP | Unset the instance owner group attribute |
xpxSET_OWNER | Set the given EDMuser as instance owner. |
xpxSET_OWNER_GROUP | Set the given EDMgroup as instance owner group. |
xpxREPLACE_CURRENT | Replace the existing owner/owner group with the given EDMuser/EDMgroup. |
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|