Пример #1
0
        //**************************************************************************
        ///    <Description>
        ///      This method uses to get all report data of a group by user role
        ///    </Description>
        ///    <Inputs>
        ///		Group ID
        ///    </Inputs>
        ///    <Outputs>
        ///		DataSet
        ///    </Outputs>
        ///    <Returns>
        ///       DataSet
        ///    </Returns>
        ///    <Authors>
        ///       DungLA
        ///    </Authors>
        ///    <History>
        ///		Created: 29-Dec-2004
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************

        public DataSet ListByUser(string pstrGroupID, string pstrUserName)
        {
            // get user id
            int          intUserID   = new Sys_UserDS().GetUserIDByUserName(pstrUserName);
            sys_ReportDS dsSysReport = new sys_ReportDS();

            return(dsSysReport.ListByUser(pstrGroupID, intUserID));
        }