public void RequestAuthorization(string operationType, string resourceType, string siteCode)
        {
            ResourcesList rs      = new ResourcesList();
            List <Guid>   rsGuids = new List <Guid>();

            rsGuids = rs.load(siteCode);
            HydroSecurityInternal HydroInternal = new HydroSecurityInternal();

            HydroInternal.QueueAuthorizationRequest(operationType, 2, rsGuids);
        }
        public AuthorizationList GetApprovedAuthorizationInfo(string siteCode)
        {
            ResourcesList rsList  = new ResourcesList();
            List <Guid>   rsGuids = new List <Guid>();

            rsGuids = rsList.load(siteCode);
            AuthorizationList authList = new AuthorizationList();

            authList.Load(rsGuids);
            return(authList);
        }
        public RequestManagementList GetPendingAuthorizationInfo(string siteCode)
        {
            ResourcesList rsList  = new ResourcesList();
            List <Guid>   rsGuids = new List <Guid>();

            rsGuids = rsList.load(siteCode);
            RequestManagementList rmList = new RequestManagementList();

            rmList.Load(rsGuids);
            return(rmList);
        }