示例#1
0
        /// <summary>
        /// Creazione oggetto MittenteSmistamento
        /// </summary>
        private void FillMittenteSmistamento()
        {
            this._mittenteSmistamento                   = new DocsPaWR.MittenteSmistamento();
            this._mittenteSmistamento.IDPeople          = this._infoUtente.idPeople;
            this._mittenteSmistamento.IDAmministrazione = this._infoUtente.idAmministrazione;

            string[] registriApp = new string[this._ruolo.registri.Length];
            for (int i = 0; i < this._ruolo.registri.Length; i++)
            {
                registriApp[i] = this._ruolo.registri[i].systemId;
            }
            this._mittenteSmistamento.RegistriAppartenenza = registriApp;
            registriApp = null;


            this._mittenteSmistamento.EMail = this._utente.email;
            this._mittenteSmistamento.IDCorrGlobaleRuolo = this._ruolo.systemId;
            this._mittenteSmistamento.IDGroup            = this._ruolo.idGruppo;
            this._mittenteSmistamento.LivelloRuolo       = this._ruolo.livello;
        }
示例#2
0
        //private bool ScartaDocumento(string IDTrasmUtente, bool trasmConWorkflow, string idPeople, string idTrasmissione)
        //{
        //    bool retValue = false;
        //    DocsPaWR.DocsPaWebService ws=new SAAdminTool.DocsPaWR.DocsPaWebService();
        //    retValue = ws.ScartaDocumento(IDTrasmUtente, trasmConWorkflow, idPeople, idTrasmissione);
        //    return retValue;
        //}

        private bool ScartaDocumentoSP(DocsPaWR.InfoUtente infoUtente, string idOggetto, string tipoOggetto, string idTrasmissione, string idTrasmSingola, DocsPaWR.MittenteSmistamento mittente, DocsPaWR.RuoloSmistamento ruolo)
        {
            bool retValue = false;

            DocsPaWR.DocsPaWebService ws = new SAAdminTool.DocsPaWR.DocsPaWebService();
            retValue = ws.ScartaDocumento(infoUtente, idOggetto, tipoOggetto, idTrasmissione, idTrasmSingola, mittente, ruolo);
            return(retValue);
        }