Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
SYNTAX:
 
xpxCheckInstanceAccessRights(currInst                : GENERIC;                              requiredAccessCode      : INTEGER;                              userId, groupId         : GENERIC;                              options                 : INTEGER;                             VAR result              : BOOLEAN;                             VAR lastCheckedInstance : GENERIC;                             VAR accessRole          : INTEGER;                             VAR protection          : INTEGER;                             VAR actualAccessRights  : INTEGER)                              status                  : INTEGER;
 
To be completed.
 
The xpxCheckInstanceAccessRights function?.
The arguments of the function are:

Argument:

Description:

currInst

A numeric instanceID that uniquely identifies an instance in the EDMdatabase that for which access is to be checked. This instanceID is defined when the actual instance is created by the xpxCreateInstance or xpxCreateInstanceBN function.

requiredAccessCode

One of the symbols from the following list;
READ_ACCESS, WRITE_ACCESS, CREATE_ ACCESS, EXECUTE_ ACCESS, DELETE_ACCESS

userId

Address of the variable that holds the numeric instanceID that uniquely identifies the EDMuser instance in the EDMdatabase that defines the EDMuser of the caller, i.e. the EDMuser the caller is logged on the EDMserver as.

groupId

A numeric groupID that uniquely identifies the edm_group instance in the EDMdatabase

options

Specifies the current EDMexpressCompiler options. The <options> value should be specified as a bitwise OR of the options to enable. See the edmiExpressToHTML function for details of available options. All option names are defined in the header file sdai.h

result

 

lastCheckedInstance

 

accessRole

 

protection

 

actualAccessRights

 

 
This function is equivalent to the EDMinterface function edmiCheckInstanceAccess.

  • No labels