/// <summary> /// 检查当前登陆的用户是否有编辑公用处方的权限 /// </summary> /// <param name="p_objPrincipal"></param> /// <param name="strID">用户ID</param> /// <param name="isPublic">false-没有权限,true-有权限</param> /// <returns></returns> public long m_lngGetPublic(string strID, out bool isPublic) { long lngRes = 0; System.Security.Principal.IPrincipal p_objPrincipal = null; com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)); lngRes = objSvc.m_lngGetPublic(p_objPrincipal, strID, out isPublic); objSvc.Dispose(); objSvc = null; return(lngRes); }