VistA Analysis » VistA Reference » RPCs » ORWU16 USERINFO

ORWU16 USERINFO

Returns information about the current user in the format: DUZ^NAME^USRCLS^CANSIGN^ISPROVIDER^ORDERROLE^NOORDER^DTIME^CD

Properties

Property Value
Label USERINFO
MUMPS Implementation ORWU16
Return Type SINGLE VALUE

MUMPS Method Description

Property Value
Method USERINFO^ORWU16
Method Comment procedure
First Comment
 return DUZ^NAME^SIGNAUTH^ISPROVIDER for the current user
I DUZ=1085 S DUZ=1298 ; CHANGE ID **** DON'T EXPORT ****
Code
 S Y=DUZ_U_$P(^VA(200,DUZ,0),U,1)
S $P(Y,U,3)=$S($D(^XUSEC("ORES",DUZ)):3,$D(^XUSEC("ORELSE",DUZ)):2,$D(^XUSEC("OREMAS",DUZ)):1,1:0)
S $P(Y,U,4)=$D(^XUSEC("PROVIDER",DUZ))#10

CPRS

File Type Description
NOT OSEHRA CPRS  


Document generated on August 31st 2022, 2:55:43 pm