![]() ![]() |
Reference Type: Controlled Subscription, Category: Signon/Security, ICR#: 4053
The CHKPRMIT^XWBSEC API checks to see if the remote procedure is permitted to run. It checks for:
If the user is an Application Proxy, it checks to see if Application Proxy access to the remote procedure is permitted.
Some remote procedures are allowed in any context:
All Kernel “XUS” and RPC Broker “XWB” remote procedures are allowed in “XUS SIGNON” context.
CHKPRMIT^XWBSEC(xwbrp)
Make sure to perform the following steps before calling this API:
xwbrp: |
(required) This is the name of the remote procedure to look up in the REMOTE PROCEDURE (#8994) file. |
XWBSEC: |
Returns:
NOTE: XWBSEC is an environment variable, so that the information is included in the error trap should a subsequent processing error occur. |