Exemplo n.º 1
0
        public string GetDomainName()
        {
            string domainAndUserName = this.m_dp.UnprotectDataToString(this.m_encryptedDomainAndUserName, "UserName");

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

            return(DataSourceInfo.GetDomainOnly(userName));
        }