示例#1
0
        public bool HSM_SetMementoForUser(Memento memento)
        {
            if (memento == null)
            {
                return(false);
            }

            if (String.IsNullOrEmpty(memento.Alias))
            {
                return(false);
            }

            //if (String.IsNullOrEmpty(memento.Dominio))
            //    return false;

            DocsPaWR.InfoUtente infoUt            = DocsPAWA.UserManager.getInfoUtente();
            DocsPAWA.DocsPaWR.DocsPaWebService ws = ProxyManager.getWS();
            try
            {
                return(ws.HSM_SetMementoForUser(infoUt, memento.Dominio, memento.Alias));
            }
            catch (System.Exception ex)
            {
                //UIManager.AdministrationManager.DiagnosticError(ex);
                return(false);
            }
        }