Example #1
0
        public returnGetEntitlement GetEntitlement(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IEntitlement.IEntitlement obj = new RBSR_AUFW.DB.IEntitlement.IEntitlement(dbconn);
            return(obj.GetEntitlement(ID));
        }
Example #2
0
        public int NewEntitlement(string StandardActivity, string RoleType, string System, string Platform, string EntitlementName, string EntitlementValue, string Application, string CHECKSUM)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IEntitlement.IEntitlement obj = new RBSR_AUFW.DB.IEntitlement.IEntitlement(dbconn);
            return(obj.NewEntitlement(StandardActivity, RoleType, System, Platform, EntitlementName, EntitlementValue, Application, CHECKSUM));
        }
Example #3
0
        public returnListEntitlement[] ListEntitlement(int?maxRowsToReturn, string extendedCriteria, string[] extendedParameters, string extendedSortOrder)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IEntitlement.IEntitlement obj = new RBSR_AUFW.DB.IEntitlement.IEntitlement(dbconn);
            return(obj.ListEntitlement(maxRowsToReturn, extendedCriteria, extendedParameters, extendedSortOrder));
        }
Example #4
0
        public int SetEntitlement(int ID, string StandardActivity, string RoleType, string System, string Platform, string EntitlementName, string EntitlementValue, string AuthObjName, string AuthObjValue, string FieldSecName, string FieldSecValue, string Level4SecName, string Level4SecValue, string Commentary, string GENmanifestValue, string Application, string CHECKSUM, string Status)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IEntitlement.IEntitlement obj = new RBSR_AUFW.DB.IEntitlement.IEntitlement(dbconn);
            return(obj.SetEntitlement(ID, StandardActivity, RoleType, System, Platform, EntitlementName, EntitlementValue, AuthObjName, AuthObjValue, FieldSecName, FieldSecValue, Level4SecName, Level4SecValue, Commentary, GENmanifestValue, Application, CHECKSUM, Status));
        }
Example #5
0
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.IEntitlement.IEntitlement obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

            if (!Directory.Exists(wsAppData))
            {
                Directory.CreateDirectory(wsAppData);
            }
            obj.TempDir = wsAppData;
        }