Kernel V. 8.0 APIs Banner [skip navigation]
VHA Office of Information - Health Systems Design and Development (HSD&D) Banner

USERINFO^XUSRB2(): Get Demographics for Current User

Reference Type: Controlled Subscription, Category: User, Integration Agreement: 4055

Description

This API retrieves various user demographic information for the current user.

(This was developed as a Broker/VistALink RPC and all RPCs have as the first parameter the return/output parameter.)

Format

  USERINFO^XUSRB2(ret)

Input Parameters

ret:

(required) Name of the subscripted return array. In every API that is used as an RPC the first parameter is the return array.

Output Parameters

ret():

Returns a subscripted output array:

  • RET(1)—User's name from the .01 field of the NEW PERSON file (#200).

  • RET(2)—Concatenated user name from the NAME COMPONENTS file (#20).

  • RET(3)—Logged on division:
      ien^name^number
  • RET(4)—User's title from the NEW PERSON file (#200).

  • RET(5)—User's service section from NEW PERSON file (#200, external format).

  • RET(6)—User's language from the NEW PERSON file (#200).

  • RET(7)—User's timeout.

Example

 
	

 


VA (Internet) / VA (Intranet) / OI / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: January 18, 2007

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.