internal static OAdUser GetUser(AdminSession cqAdminSession, string userName) { OAdUser user = null; try { user = (OAdUser)cqAdminSession.GetUser(userName); } catch (COMException ex) { InteropErrorHandler.HandleCQException(ex); } return(user); }