Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

VALIDAV^XUSRB(): VistALink-Validate User Credentials

Reference Type: Controlled Subscription, Category: Signon/Security, ICR#: 4054

Description

The VALIDAV^XUSRB API validates a VistALink user's credentials for signon to M.

Format

  VALIDAV^XUSRB(credential)

Input Parameters

credential:

(required) A credential (typically the encoded "Access code;Verify code" string) to use to attempt a signon for the current user.

Output

returns:

Returns:

;Return R(0)=DUZ, R(1)=(0=OK, 1,2...=Can't sign-on for some reason)
; R(2)=verify needs changing, R(3)=Message, R(4)=0, R(5)=msg cnt, R(5+n)
; R(R(5)+6)=# div user must select from, R(R(5)+6+n)=div