VistA Analysis » VistA Reference » RPCs » ORWTPT GETTEAM

ORWTPT GETTEAM

Properties

Property Value
Label GETTEAM
MUMPS Implementation ORWTPT
Return Type ARRAY

MUMPS Method Description

Property Value
Method GETTEAM^ORWTPT
Method Comment RPC
Input Parameters TEAM
First Comment
 returns members of a team
Code
 N CNT,NAME,NUM,USER K USERS
S TEAM=+$G(TEAM),CNT=0
S NUM=0 F S NUM=$O(^OR(100.21,TEAM,1,NUM)) Q:NUM<1 S USER=+$G(^(NUM,0)) D
.S NAME=$P($G(^VA(200,USER,0)),U)
.I '$L(NAME) Q
.S CNT=CNT+1
.S USERS(CNT)=USER_U_NAME

CPRS

File Type Description
Pascal File Options/rOptions.pas


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