private DocumentTemplateDevicesManagedGroup(string Key, ADManagedGroupConfiguration Configuration, DocumentTemplate DocumentTemplate)
     : base(Key, Configuration)
 {
     this.DocumentTemplateId = DocumentTemplate.Id;
     this.DocumentTemplateDescription = DocumentTemplate.Description;
     this.DocumentTemplateScope = DocumentTemplate.Scope;
 }
Esempio n. 2
0
        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;
        }
 private UserFlagUsersManagedGroup(string Key, ADManagedGroupConfiguration Configuration, UserFlag UserFlag)
     : base(Key, Configuration)
 {
     this.UserFlagId = UserFlag.Id;
     this.UserFlagName = UserFlag.Name;
 }
 private DeviceProfileAssignedUsersManagedGroup(string Key, ADManagedGroupConfiguration Configuration, DeviceProfile DeviceProfile)
     : base(Key, Configuration)
 {
     this.DeviceProfileId = DeviceProfile.Id;
     this.DeviceProfileName = DeviceProfile.Name;
 }
 private DeviceBatchDevicesManagedGroup(string Key, ADManagedGroupConfiguration Configuration, DeviceBatch DeviceBatch)
     : base(Key, Configuration)
 {
     this.DeviceBatchId = DeviceBatch.Id;
     this.DeviceBatchName = DeviceBatch.Name;
 }