SDESPRIVUSRSRCH ;ALB/RRM,MGD - VISTA SCHEDULING PRIVILEGED USER SEARCH RPC; Sept 23, 2022@01:21
Source file <SDESPRIVUSRSRCH.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 2 | $$UP^XLFSTR $$ACTIVE^XUSER |
Scheduling | 2 | BUILDJSON^SDESBUILDJSON ERRLOG^SDESJSON |
VA FileMan | 1 | LIST^DIC |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Scheduling | 1 | SDES2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
SEARCHPRIVUSR(RETURNJSON,SEARCHSTRING) | ;Called from the RPC: SDES SEARCH PRIVILEGED USER
; Input: ; SEARCHSTRING - (Required) Partial OR Full name text of at least 3-35 characters |
|
GETPRIVUSER(SEARCHSTRING,SDPRIVUSERINFO) | ;seach and retrieve user
|
|
GETUSERDIVISION(USERIEN,SDPRIVUSERINFO) | ;retrieve Division Multiple data
|
|
GETUSERCLASS(USERIEN,SDPRIVUSERINFO) | ;retrieve User Class Multiple data
|
|
GETPERSONCLASS(USERIEN,SDPRIVUSERINFO) | ;retrieve Person Class Multiple data
|
|
VALIDATESRCHSTR(ERRORS,SEARCHSTRING) | ;Validate Privileged user search string that was supplied
|
|
EMPTYDIV(SDPRIVUSERINFO,RECORDCNTR) | ;set Division subscript to NULL
|
|
EMPTYUSC(SDPRIVUSERINFO,RECORDCNTR) | ;Set User Class subscript to Null
|
|
EMPTYPC(SDPRIVUSERINFO,RECORDCNTR) | ;Set Person Class subscript to Null
|
|
EMPTYJSON(SEARCHSTRING,SDPRIVUSERINFO) | ;return an empty string JSON Format if an Error occur or no data found
|
Name | Line Occurrences |
---|---|
$$VALIDATESRCHSTR | SEARCHPRIVUSR+14 |
EMPTYDIV | GETUSERDIVISION+4, GETUSERDIVISION+12 |
EMPTYJSON | SEARCHPRIVUSR+17, GETPRIVUSER+5, GETPRIVUSER+30 |
EMPTYPC | GETPERSONCLASS+4, GETPERSONCLASS+12 |
EMPTYUSC | GETUSERCLASS+4, GETUSERCLASS+12 |
GETPERSONCLASS | GETPRIVUSER+28 |
GETPRIVUSER | SEARCHPRIVUSR+19 |
GETUSERCLASS | GETPRIVUSER+27 |
GETUSERDIVISION | GETPRIVUSER+26 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ERRORFLAG | VALIDATESRCHSTR+1~, VALIDATESRCHSTR+2*, VALIDATESRCHSTR+3*, VALIDATESRCHSTR+4*, VALIDATESRCHSTR+5 |
ERRORS | SEARCHPRIVUSR+9~, SEARCHPRIVUSR+14, SEARCHPRIVUSR+15, VALIDATESRCHSTR~, VALIDATESRCHSTR+3, VALIDATESRCHSTR+4 |
FIELDS | GETPRIVUSER+1~, GETPRIVUSER+3*, GETPRIVUSER+4 |
HASSEARCHERROR | SEARCHPRIVUSR+11~, SEARCHPRIVUSR+14*, SEARCHPRIVUSR+15 |
II | GETUSERDIVISION+1~, GETUSERDIVISION+5*, GETUSERDIVISION+6, GETUSERDIVISION+8, GETUSERDIVISION+9, GETUSERDIVISION+10, GETUSERCLASS+1~, GETUSERCLASS+5*, GETUSERCLASS+6, GETUSERCLASS+8 , GETUSERCLASS+9, GETUSERCLASS+10, GETPERSONCLASS+1~, GETPERSONCLASS+5*, GETPERSONCLASS+6, GETPERSONCLASS+8, GETPERSONCLASS+9, GETPERSONCLASS+10, GETPERSONCLASS+11 |
ISDIVDEFAULT | GETUSERDIVISION+1~, GETUSERDIVISION+10*, GETUSERDIVISION+11 |
ISUCPRIMARY | GETUSERCLASS+1~, GETUSERCLASS+10*, GETUSERCLASS+11 |
LISTERROR | GETPRIVUSER+1~, GETPRIVUSER+5 |
LISTERROR("DIERR" | GETPRIVUSER+5 |
RECNTR | GETUSERDIVISION+1~, GETUSERDIVISION+2*, GETUSERDIVISION+7*, GETUSERDIVISION+8, GETUSERDIVISION+9, GETUSERDIVISION+11, GETUSERCLASS+1~, GETUSERCLASS+2*, GETUSERCLASS+7*, GETUSERCLASS+8 , GETUSERCLASS+9, GETUSERCLASS+11, GETPERSONCLASS+1~, GETPERSONCLASS+2*, GETPERSONCLASS+7*, GETPERSONCLASS+8, GETPERSONCLASS+9, GETPERSONCLASS+10, GETPERSONCLASS+11 |
RECNUM | GETPRIVUSER+1~, GETPRIVUSER+6*, GETPRIVUSER+7, GETPRIVUSER+8, GETPRIVUSER+13, GETPRIVUSER+14, GETPRIVUSER+15, GETPRIVUSER+16, GETPRIVUSER+17, GETPRIVUSER+18 , GETPRIVUSER+19, GETPRIVUSER+20, GETPRIVUSER+21, GETPRIVUSER+22, GETPRIVUSER+23, GETPRIVUSER+24, GETPRIVUSER+25 |
RECORDCNTR | GETPRIVUSER+1~, GETPRIVUSER+2*, GETPRIVUSER+11*, GETPRIVUSER+12, GETPRIVUSER+13, GETPRIVUSER+14, GETPRIVUSER+15, GETPRIVUSER+16, GETPRIVUSER+17, GETPRIVUSER+18 , GETPRIVUSER+19, GETPRIVUSER+20, GETPRIVUSER+21, GETPRIVUSER+22, GETPRIVUSER+23, GETPRIVUSER+24, GETPRIVUSER+25, GETUSERDIVISION+4, GETUSERDIVISION+8, GETUSERDIVISION+9 , GETUSERDIVISION+11, GETUSERDIVISION+12, GETUSERCLASS+4, GETUSERCLASS+8, GETUSERCLASS+9, GETUSERCLASS+11, GETUSERCLASS+12, GETPERSONCLASS+4, GETPERSONCLASS+8, GETPERSONCLASS+9 , GETPERSONCLASS+10, GETPERSONCLASS+11, GETPERSONCLASS+12, EMPTYDIV~, EMPTYDIV+1, EMPTYDIV+2, EMPTYDIV+3, EMPTYUSC~, EMPTYUSC+1, EMPTYUSC+2 , EMPTYUSC+3, EMPTYPC~, EMPTYPC+1, EMPTYPC+2, EMPTYPC+3, EMPTYPC+4 |
RETURNERROR | SEARCHPRIVUSR+9~, SEARCHPRIVUSR+15*, SEARCHPRIVUSR+17 |
RETURNERROR("Error" | SEARCHPRIVUSR+17, EMPTYJSON+2 |
RETURNERROR("NewPerson" | EMPTYJSON+4* |
RETURNJSON | SEARCHPRIVUSR~, SEARCHPRIVUSR+17, SEARCHPRIVUSR+20 |
SDERROR | GETPRIVUSER+1~, GETUSERDIVISION+1~, GETUSERDIVISION+4, GETUSERCLASS+1~, GETUSERCLASS+4, GETPERSONCLASS+1~, GETPERSONCLASS+4 |
SDMULTARY | GETPRIVUSER+1~, GETUSERDIVISION+1~, GETUSERCLASS+1~, GETPERSONCLASS+1~ |
SDMULTARY("DILIST" | GETUSERDIVISION+5, GETUSERDIVISION+8, GETUSERDIVISION+9, GETUSERDIVISION+10, GETUSERDIVISION+12, GETUSERCLASS+5, GETUSERCLASS+8, GETUSERCLASS+9, GETUSERCLASS+10, GETUSERCLASS+12 , GETPERSONCLASS+5, GETPERSONCLASS+8, GETPERSONCLASS+9, GETPERSONCLASS+10, GETPERSONCLASS+11, GETPERSONCLASS+12 |
SDPRIVUSERINFO | SEARCHPRIVUSR+10~, SEARCHPRIVUSR+19, SEARCHPRIVUSR+20, GETPRIVUSER~, GETPRIVUSER+26, GETPRIVUSER+27, GETPRIVUSER+28, GETPRIVUSER+30, GETUSERDIVISION~, GETUSERDIVISION+4 , GETUSERDIVISION+12, GETUSERCLASS~, GETUSERCLASS+4, GETUSERCLASS+12, GETPERSONCLASS~, GETPERSONCLASS+4, GETPERSONCLASS+12, EMPTYDIV~, EMPTYUSC~, EMPTYPC~ , EMPTYJSON~ |
SDPRIVUSERINFO("Error" | GETPRIVUSER+5* |
SDPRIVUSERINFO("NewPerson" | GETPRIVUSER+12*, GETPRIVUSER+13*, GETPRIVUSER+14*, GETPRIVUSER+15*, GETPRIVUSER+16*, GETPRIVUSER+17*, GETPRIVUSER+18*, GETPRIVUSER+19*, GETPRIVUSER+20*, GETPRIVUSER+21* , GETPRIVUSER+22*, GETPRIVUSER+23*, GETPRIVUSER+24*, GETPRIVUSER+25*, GETUSERDIVISION+8*, GETUSERDIVISION+9*, GETUSERDIVISION+11*, GETUSERCLASS+8*, GETUSERCLASS+9*, GETUSERCLASS+11* , GETPERSONCLASS+8*, GETPERSONCLASS+9*, GETPERSONCLASS+10*, GETPERSONCLASS+11*, EMPTYDIV+1*, EMPTYDIV+2*, EMPTYDIV+3*, EMPTYUSC+1*, EMPTYUSC+2*, EMPTYUSC+3* , EMPTYPC+1*, EMPTYPC+2*, EMPTYPC+3*, EMPTYPC+4*, EMPTYJSON+1, EMPTYJSON+3* |
SEARCHSTRING | SEARCHPRIVUSR~, SEARCHPRIVUSR+13*, SEARCHPRIVUSR+14, SEARCHPRIVUSR+17, SEARCHPRIVUSR+19, GETPRIVUSER~, GETPRIVUSER+4, GETPRIVUSER+5, GETPRIVUSER+30, VALIDATESRCHSTR~ , VALIDATESRCHSTR+3, VALIDATESRCHSTR+4, EMPTYJSON~ |
USERIEN | GETPRIVUSER+1~, GETPRIVUSER+8*, GETPRIVUSER+9, GETPRIVUSER+12, GETPRIVUSER+26, GETPRIVUSER+27, GETPRIVUSER+28, GETUSERDIVISION~, GETUSERDIVISION+3, GETUSERCLASS~ , GETUSERCLASS+3, GETPERSONCLASS~, GETPERSONCLASS+3 |
USERLIST | GETPRIVUSER+1~ |
USERLIST("DILIST" | GETPRIVUSER+6, GETPRIVUSER+8, GETPRIVUSER+13, GETPRIVUSER+14, GETPRIVUSER+15, GETPRIVUSER+16, GETPRIVUSER+17, GETPRIVUSER+18, GETPRIVUSER+19, GETPRIVUSER+20 , GETPRIVUSER+21, GETPRIVUSER+22, GETPRIVUSER+23, GETPRIVUSER+24, GETPRIVUSER+25 |
USRISACTIVE | GETPRIVUSER+1~, GETPRIVUSER+9*, GETPRIVUSER+10 |