xpxChangeInstanceOwner

FUNCTION xpxChangeInstanceOwner(currInst      : GENERIC;
                                userORgroupId : GENERIC;
                                options       : INTEGER) 
                                status        : INTEGER;

The xpxChangeInstanceOwner function changes the owner for the specified instance.

Arguments


TypeNameComment
GENERICcurrInstspecifies a numeric instanceID that uniquely identifies an instance in the EDMdatabase  that for which owner is to be changed.
GENERICuserORgroupIdspecifies a numeric instanceID that uniquely identifies the EDMuser or EDMgroup instance in the EDMdatabase  that defines the owner of the instance.
INTEGERoptionssee below

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


OptionComment

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


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

Â