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

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

            return(DataSourceInfo.GetUserNameOnly(userName));
        }