Example #1
0
        public string GetDomainName()
        {
            string domainAndUserName = this.m_dp.UnprotectDataToString(this.m_encryptedDomainAndUserName, "UserName");

            return(DataSourceInfo.GetDomainOnly(domainAndUserName));
        }
Example #2
0
        public string GetDomainOnly(IDataProtection dataProtection)
        {
            string userName = this.GetUserName(dataProtection);

            return(DataSourceInfo.GetDomainOnly(userName));
        }