xpxProtectInstance

FUNCTION xpxProtectInstance (currInst     : GENERIC;
                             protection   : INTEGER)
                             status       : INTEGER;
 

The xpxProtectInstance function defines access rights to the specified instance. The available access rights are read, write, or none. Write access implies read access.

Arguments


TypeNameComment
GENERICcurrInstA numeric instanceID that uniquely identifies a protected instance in the EDMdatabase. This may be any protected instance in the database such as e.g repositories and models.
INTEGERprotection

Specifies the protection to be set for the specified protected instance. The value should be a bitwise OR of any combination of the symbols listed below.
OWNER_READ, OWNER_WRITE, OWNER_CREATE, OWNER_EXECUTE, OWNER_DELETE
GROUP_READ, GROUP_WRITE, GROUP_CREATE, GROUP_EXECUTE, GROUP_DELETE
PUBLIC_READ, PUBLIC_WRITE, PUBLIC_CREATE, PUBLIC_EXECUTE, PUBLIC_DELETE
 
If no access shall be set at all for either owner, group owner or public, use the symbols below
OWNER_NONE, GROUP_NONE, PUBLIC_NONE

Return Value


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

Options


 

Example


<Missing Example>

 

See also

Filter by label

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

Â