Example #1
0
        public static List <STD_ROLE> GetItemsByUserRegistry(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID)
        {
            List <STD_ROLE> objReturn = null;
            STD_ROLEDB      objDB     = new STD_ROLEDB();

            objReturn = objDB.GetItemsByUserRegistry(CURRENT_USER, CURRENT_REGISTRY_ID);

            return(objReturn);
        }
Example #2
0
        public static List <STD_ROLE> GetSystemRoles(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID)
        {
            List <STD_ROLE> objReturn = null;
            STD_ROLEDB      objDB     = new STD_ROLEDB();

            objReturn = objDB.GetSystemRoles(CURRENT_USER, CURRENT_REGISTRY_ID);

            return(objReturn);
        }
Example #3
0
        public static Int32 Save(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, STD_ROLE objSave)
        {
            Int32      objReturn = 0;
            STD_ROLEDB objDB     = new STD_ROLEDB();

            objReturn = objDB.Save(CURRENT_USER, CURRENT_REGISTRY_ID, objSave);

            return(objReturn);
        }
Example #4
0
        public static Boolean Delete(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, Int32 ID)
        {
            Boolean    objReturn = false;
            STD_ROLEDB objDB     = new STD_ROLEDB();

            objReturn = objDB.Delete(CURRENT_USER, CURRENT_REGISTRY_ID, ID);

            return(objReturn);
        }
Example #5
0
        public static STD_ROLE GetItem(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, Int32 ID)
        {
            STD_ROLE   objReturn = null;
            STD_ROLEDB objDB     = new STD_ROLEDB();

            objReturn = objDB.GetItem(CURRENT_USER, CURRENT_REGISTRY_ID, ID);

            return(objReturn);
        }