Top
PowerCOBOL V11.0 Reference
FUJITSU Software

5.53 IsCallerInRole Method

Description:

Determines whether the caller is in the role.

Used in controls:

MTS Support

Used in objects:

None.

Parameters:

VT_BSTR - RoleName X(8192)

Description of Parameters:

The name of the role.

Return value:

VT_BOOL - ReturnValue S9(4) COMP-5

POW-TRUE means the caller is in the role.

POW-FALSE means the caller is not in the role.

Example:

INVOKE CmViper1 "IsCallerInRole"
USING RoleName
RETURNING ReturnValue

Backward compatibility
method name:

None.