public static LPHSUser LookupInternal(string ntid)
 {
     using (new LogScope("LPHSUser.LookupInternal"))
     {
         try
         {
             SouthernIdentity ident = null;
             Authenticator.AppLogin(ref ident);
             using (Catalog cat = new Catalog(ident.SecurityToken))
             {
                 using (var employee = cat.GetEmployee(ntid, Catalog.ValueType.cecNTID))
                 {
                     if (employee == null)
                     {
                         throw new Exception(string.Format("Employee '{0}' not found.", ntid.ToUpper()));
                     }
                     else
                     {
                         return new LPHSUser
                         {
                             Name = employee.GetValue("EMPNET_ID"),
                             EmailAddress = employee.GetValue("EMAIL_ADDR"),
                             Sid = employee.GetValue("USER_SID"),
                             DisplayName = employee.GetValue("EMP_NAME").Replace(",", ", ")
                         };
                     }
                 }
             }
         }
         catch (Exception ex)
         {
             Log.Write(ex, Log.Mask.Failure);
             return null;
         }
     }
 }