gov.va.medora.mdo.dao.vista.VistaUserDao.getSecurityKeyForContext C# (CSharp) Метод

getSecurityKeyForContext() публичный Метод

public getSecurityKeyForContext ( string context ) : string
context string
Результат string
        public string getSecurityKeyForContext(string context)
        {
            if (StringUtils.isEmpty(context))
            {
                throw new ArgumentNullException("Missing context");
            }
            string contextIen = getOptionIen(context);
            VistaQuery vq = new VistaQuery("XWB GET VARIABLE VALUE");
            string arg = "$G(^DIC(19," + contextIen + ",0))";
            vq.addParameter(vq.REFERENCE, arg);
            string response = (string)cxn.query(vq);
            return extractSecurityKey(response);
        }
VistaUserDao