Example #1
0
        public static string GetDomainName(Guid domainGuid)
        {
            Business.Domain domainController = new Business.Domain();
            DataTable       dtDomainInfo     = domainController.GetDomain(domainGuid);

            return(dtDomainInfo.Rows.Count > 0 ? dtDomainInfo.Rows[0]["Name"].ToString() : string.Empty);
        }
Example #2
0
 public static DataTable GetDomain(Guid domainGuid)
 {
     Business.Domain domainController = new Business.Domain();
     return(domainController.GetDomain(domainGuid));
 }