public ADManagedGroup(string Key, ADManagedGroupConfiguration Configuration)
{
if (string.IsNullOrWhiteSpace(Key))
throw new ArgumentNullException("Key");
if (Configuration == null)
throw new ArgumentNullException("Configuration");
if (!ActiveDirectory.IsValidDomainAccountId(Configuration.GroupId))
throw new ArgumentException("Configuration.GroupId is not a valid Domain Account Id", "Configuration");
this.Key = Key;
this.Configuration = Configuration;
}