Beispiel #1
0
        public FileManager(int userID)
        {
            m_service = new WebFileService(ConfigurationManager.AppSettings["FileManagerWebServiceURL"]);
            string domainName = Person.GetPersonByID(userID).DomainNames[0];

            m_service.AuthHeaderValue = new AuthHeader
            {
                UserDomainName = domainName
            };
        }
Beispiel #2
0
        public FileManager(string serviceFileManagerURL)
        {
            m_service = new WebFileService(serviceFileManagerURL);

            string domainName = HttpContext.Current.User.Identity.Name.ToLowerInvariant();
            m_service.AuthHeaderValue = new AuthHeader
                                            {
                                                UserDomainName = domainName
                                            };
        }
Beispiel #3
0
        public FileManager()
        {
            m_service = new WebFileService(ConfigurationManager.AppSettings["FileManagerWebServiceURL"]);
            string domainName = HttpContext.Current.User.Identity.Name.ToLowerInvariant();

            m_service.AuthHeaderValue = new AuthHeader
                                            {
                                                UserDomainName = domainName
                                            };
        }