85. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 1/31/2018 9:02:24 AM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

85.1 Files compared

# Location File Last Modified
1 NVCC_2.2_01162018.zip\NVCC\SQL NVCC_usp_GetXdwUser.sql Thu Oct 19 16:37:26 2017 UTC
2 NVCC_2.2_01162018.zip\NVCC\SQL NVCC_usp_GetXdwUser.sql Wed Jan 31 13:37:57 2018 UTC

85.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 4 156
Changed 3 6
Inserted 0 0
Removed 0 0

85.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

85.4 Active regular expressions

No regular expressions were active.

85.5 Comparison detail

  1   --DROP PRO CEDURE App .NVCC_usp_ GetXdwUser
  2  
  3   USE NWIC_P anelMgmt
  4   GO
  5  
  6   SET ANSI_N ULLS ON
  7   GO
  8  
  9   SET QUOTED _IDENTIFIE R ON
  10   GO
  11  
  12   CREATE PRO CEDURE App .NVCC_usp_ GetXdwUser
  13           --  @username  is the ne twork (AD)  username/ login of t he user
  14           @u sername va rchar(50)
  15   AS
  16   --======== ========== ========== ========== ========== ========== ========== ========== ====
  17   --Requesto r              : Non  Va Coordin ated Care  Project
  18   --Author                  : Bria n Diggs
  19   --Object/S P Name         : NVCC _usp_GetXd wUser
  20   --Server                  :  SERVER        
  21   --Data Bas e              : NWIC _PanelMgmt
  22   --Schema                  : app
  23   --Report                  : N/A
  24   --Folder                  : N/A
  25   --Report L oc             : N/A
  26   --Job                     : None
  27   --Job Loc                 : None
  28   --Note                    : 
  29   --Date Cre ated           : 2017 -02-14
  30   --
  31   --
  32   --Last Cha nged           : 
  33   --Last Cha nged By                 : 
  34   --Reason F or Change               : 
  35   --
  36   --Purpose                 : To g et LCustom er and AD  informatio n about a  user
  37   --======== ========== ========== ========== ========== ========== ========== ========== ====
  38   --Uses: CD WWork.NDim .ActiveDir ectoryAcco unt
  39   --Uses: CD WWork.LCus tomer.LCus tomer
  40   --Uses: CD WWork.Dim. Sta3n
  41  
  42   BEGIN
  43           SE LECT TOP 1
  44                    UPPE R(ada.SamA ccountName ) AS NetWo rkName
  45                    ,ada .Surname A S LastName
  46                    ,ada .GivenName  AS FirstN ame
  47                    ,lc. LCustomerI D
  48                    ,Acc ountEmailA ddress as  Email
  49                    ,lc. UpdatedDat e as DateA dded
  50                    ,lc. InferredSt a3n
  51                    ,s.S ta3n AS AD LoginInfer redSta3n
  52           FR OM
  53                    CDWW ork.NDim.A ctiveDirec toryAccoun t AS ada
  54                    LEFT  JOIN CDWW ork.LCusto mer.LCusto mer AS lc
  55                             ON ada .SamAccoun tName = lc .ADLogin
  56                    LEFT  JOIN CDWW ork.Dim.St a3n s
  57                             ON s.S iteCode =  SUBSTRING( UPPER(@use rname), 4,  3)
  58           WH ERE SamAcc ountName =  @username
  59           OR DER BY lc. UpdatedDat e DESC
  60   END
  61   GO
  62  
  63   exec sp_Si gnAppObjec t 'NVCC_us p_GetXdwUs er';
  64  
  65   ---- Test  Cases
  66   ---- "Norm al" user.
  67   --exec app .NVCC_usp_ GetXdwUser  ' DNS     DIGGSB'
  68   ---- 3 cha racter sit e code not  resolvabl e, no PHI/ PII permis sions
  69   --exec app .NVCC_usp_ GetXdwUser  ' DN S      WILMEE'
  70   -- -- No s ites, no i nferred si te
  71   --exec app .NVCC_usp_ GetXdwUser  'VA-NSOC- EAS-TESTER 1'
  72   ---- No in ferred sit e, many (a ll?) PHIPP I permissi ons on sit es
  73   --exec app .NVCC_usp_ GetXdwUser  'OIGATLHE NRYL'
  74   ---- No in ferred sta 3n, VISH,  Region, or  District,  PHIPII pe srmission  on 8 sites  in VISN 2 0
  75   --exec app .NVCC_usp_ GetXdwUser  'r01dwhsq lrsv20'
  76   ---- User  who genera ted a Null ReferenceE xception i n User\Use rInfo
  77   --exec app .NVCC_usp_ GetXdwUser  'VhacmsAu gusR'
  78   ---- blank
  79   --exec app .NVCC_usp_ GetXdwUser  ''
  80   ---- Non-e xistant na me
  81   --exec app .NVCC_usp_ GetXdwUser  'zzzzzzzz zzzzz'