avCheckInstanceAuth Method

Visual LANSA Framework

avCheckInstanceAuth Method

avCheckInstanceAuth Method (when invoked from Command Handlers and Filters).

Method: avCheckInstanceAuth (when invoked from a filter)

Parameters:
Name Usage Class Description

ReturnCode

Output - Mandatory

Alpha - max length 5

According to the IIP avCheckInstanceAuth:

OK - the user is authorized to this business object instance

ER - the user is not authorized to this business object instance

UserAuthInformation

Output - Optional

Alpha - max length 75

This is optional additional information about the current user and the current business object instance that can be passed from the IIP avCheckInstanceAuth  back to the filter.

AKey1

AKey2

AKey3

AKey4

AKey5

 

Input - Optional

Alpha - max length 32

These are the optional alphanumeric programmatic identifiers of this business object instance. The identification protocol used for the identifier is at your discretion.

NKey1

NKey2

NKey3

NKey4

NKey5

 

Input - Optional

Numeric - max (15,0) precision

These are the optional numeric programmatic identifier of this business object instance. The identification protocol used for the identifier is at your discretion.

 

Method: avCheckInstanceAuth (when invoked from a command handler)

Parameters:
Name Usage Class Description

ReturnCode

Output - Mandatory

Alpha - max length 5

According to the IIP avCheckInstanceAuth:

OK - the user is authorized to this command for this business object instance

ER - the user is not authorized to this command for this business object instance

UserAuthInformation

Output - Optional

Alpha - max length 75

This is optional additional information about the current user, the current business object instance and the current command that can be passed from the IIP avCheckInstanceAuth  back to the filter.

AKey1

AKey2

AKey3

AKey4

AKey5

 

Input - Optional

Alpha - max length 32

These are the optional alphanumeric programmatic identifiers of this business object instance. The identification protocol used for the identifier is at your discretion.

NKey1

NKey2

NKey3

NKey4

NKey5

 

Input - Optional

Numeric - max (15,0) precision

These are the optional numeric programmatic identifier of this business object instance. The identification protocol used for the identifier is at your discretion.