115 writes to Value
System.DirectoryServices (86)
System\DirectoryServices\ActiveDirectory\ActiveDirectoryInterSiteTransport.cs (2)
151_cachedEntry.Properties["options"].Value = option; 204_cachedEntry.Properties["options"].Value = option;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (1)
187rootDSE.Properties[PropertyManager.SchemaUpdateNow].Value = 1;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (1)
1252_classEntry.Properties[propertyName].Value = value;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (18)
349_propertyEntry.Properties[PropertyManager.IsSingleValued].Value = _isSingleValued; 352_propertyEntry.Properties[PropertyManager.IsMemberOfPartialAttributeSet].Value = _isInGlobalCatalog; 355_propertyEntry.Properties[PropertyManager.IsDefunct].Value = _isDefunct; 360_propertyEntry.Properties[PropertyManager.RangeLower].Value = (int)_rangeLower.Value; 366_propertyEntry.Properties[PropertyManager.RangeUpper].Value = (int)_rangeUpper.Value; 372_propertyEntry.Properties[PropertyManager.SearchFlags].Value = (int)_searchFlags; 378_propertyEntry.Properties[PropertyManager.LinkID].Value = (int)_linkId.Value; 676_propertyEntry.Properties[PropertyManager.IsSingleValued].Value = value; 826_propertyEntry.Properties[PropertyManager.IsMemberOfPartialAttributeSet].Value = value; 878_propertyEntry.Properties[PropertyManager.RangeLower].Value = (int)value.Value; 931_propertyEntry.Properties[PropertyManager.RangeUpper].Value = (int)value.Value; 1047_propertyEntry.Properties[PropertyManager.LinkID].Value = (int)value.Value; 1334_propertyEntry.Properties[PropertyManager.SearchFlags].Value = (int)_searchFlags; 1350_propertyEntry.Properties[PropertyManager.SearchFlags].Value = (int)_searchFlags; 1369_propertyEntry.Properties[propertyName].Value = value; 1396_propertyEntry.Properties[PropertyManager.AttributeSyntax].Value = s_syntaxes[(int)syntax].attributeSyntax; 1397_propertyEntry.Properties[PropertyManager.OMSyntax].Value = s_syntaxes[(int)syntax].oMSyntax; 1401_propertyEntry.Properties[PropertyManager.OMObjectClass].Value = oMObjectClass.Data;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (7)
462NTDSSiteEntry.Properties["options"].Value = value; 509cachedEntry.Properties["location"].Value = value; 639NTDSSiteEntry.Properties["schedule"].Value = value.GetUnmanagedSchedule(); 794NTDSSiteEntry.Properties["interSiteTopologyGenerator"].Value = ntdsaName; 816tmpEntry.Properties["interSiteTopologyGenerator"].Value = ntdsaName; 818tmpEntry.Properties["options"].Value = _siteOptions; 821tmpEntry.Properties["schedule"].Value = _replicationSchedule;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (9)
78cachedEntry.Properties["cost"].Value = appDefaultCost; 79cachedEntry.Properties["replInterval"].Value = appDefaultInterval; 81cachedEntry.Properties[nameof(schedule)].Value = schedule.GetUnmanagedSchedule(); 274cachedEntry.Properties["cost"].Value = value; 323cachedEntry.Properties["replInterval"].Value = totalMinutes; 387cachedEntry.Properties["options"].Value = options; 451cachedEntry.Properties["options"].Value = options; 519cachedEntry.Properties["options"].Value = options; 567cachedEntry.Properties["schedule"].Value = value.GetUnmanagedSchedule();
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnet.cs (2)
260cachedEntry.Properties["location"].Value = value; 289cachedEntry.Properties["siteObject"].Value = _site.cachedEntry.Properties["distinguishedName"][0];
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnetCollection.cs (2)
216((DirectoryEntry)changeList[dn]!).Properties["siteObject"].Value = _siteDN; 221de.Properties["siteObject"].Value = _siteDN;
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (3)
237rootDSE.Properties[_becomeRoleOwnerAttrs[(int)role]].Value = 1; 279roleObjectEntry.Properties[PropertyManager.FsmoRoleOwner].Value = NtdsaObjectName; 641ntdsaEntry.Properties[PropertyManager.MsDSDefaultNamingContext].Value = value;
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (8)
668fsmoRootDSE.Properties[PropertyManager.ReplicateSingleObject].Value = primaryServerNtdsaName + ":" + crossRefDN; 692_crossRefEntry!.Properties[PropertyManager.MsDSSDReferenceDomain].Value = _securityRefDomain; 832_crossRefEntry.Properties[PropertyManager.MsDSSDReferenceDomain].Value = value; 952_domainDNSEntry.Properties[PropertyManager.InstanceType].Value = NCFlags.InstanceTypeIsNCHead | NCFlags.InstanceTypeIsWriteable; 995_domainDNSEntry.Properties[PropertyManager.InstanceType].Value = NCFlags.InstanceTypeIsNCHead | NCFlags.InstanceTypeIsWriteable; 1046_crossRefEntry.Properties[PropertyManager.DnsRoot].Value = dnsHostName; 1047_crossRefEntry.Properties[PropertyManager.Enabled].Value = false; 1048_crossRefEntry.Properties[PropertyManager.NCName].Value = distinguishedName;
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (1)
239configEntry.Properties[PropertyManager.MsDSReplAuthenticationMode].Value = (int)securityLevel;
System\DirectoryServices\ActiveDirectory\DirectoryServerCollection.cs (2)
302((DirectoryEntry)changeList[name]!).Properties["bridgeheadTransportList"].Value = this.transportDN; 308de.Properties["bridgeheadTransportList"].Value = this.transportDN;
System\DirectoryServices\ActiveDirectory\Domain.cs (14)
186domainEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = domainMode; 194domainEntry.Properties[PropertyManager.NTMixedDomain].Value = 0; 207domainEntry.Properties[PropertyManager.NTMixedDomain].Value = 0; 297domainEntry.Properties[PropertyManager.NTMixedDomain].Value = 0; 301domainEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = 1; 305domainEntry.Properties[PropertyManager.NTMixedDomain].Value = 0; 306domainEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = 2; 320domainEntry.Properties[PropertyManager.NTMixedDomain].Value = 0; 321domainEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = 2; 345domainEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = 2; 349domainEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = 3; 353domainEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = 4; 357domainEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = 5; 361domainEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = 6;
System\DirectoryServices\ActiveDirectory\DomainController.cs (4)
272serverNtdsaEntry.Properties[PropertyManager.Options].Value = options | 1; 326rootDSE.Properties[_becomeRoleOwnerAttrs[(int)role]].Value = 1; 394roleObjectEntry.Properties[PropertyManager.RIDAvailablePool].Value = ridPool; 396roleObjectEntry.Properties[PropertyManager.FsmoRoleOwner].Value = NtdsaObjectName;
System\DirectoryServices\ActiveDirectory\Forest.cs (1)
187partitionsEntry.Properties[PropertyManager.MsDSBehaviorVersion].Value = forestMode;
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (1)
197serverNtdsaEntry.Properties[PropertyManager.Options].Value = options & (~1);
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (10)
160cachedDirectoryEntry.Properties[nameof(schedule)].Value = schedule.GetUnmanagedSchedule(); 188cachedDirectoryEntry.Properties["enabledConnection"].Value = false; 191cachedDirectoryEntry.Properties["options"].Value = 0; 332cachedDirectoryEntry.Properties["enabledConnection"].Value = value; 438cachedDirectoryEntry.Properties["options"].Value = _options; 508cachedDirectoryEntry.Properties["options"].Value = _options; 590cachedDirectoryEntry.Properties["options"].Value = _options; 664cachedDirectoryEntry.Properties["options"].Value = _options; 734cachedDirectoryEntry.Properties["options"].Value = _options; 811cachedDirectoryEntry.Properties["schedule"].Value = value.GetUnmanagedSchedule();
System.DirectoryServices.AccountManagement (29)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (3)
776((DirectoryEntry)p.GetUnderlyingObject()).Properties[baseObjectRdnPrefix].Value = (string)p.GetValueForProperty(PropertyNames.PrincipalName); 805de.Properties["userAccountControl"].Value = SDSUtils.AD_DefaultUAC_Machine; 809de.Properties["userAccountControl"].Value = SDSUtils.AD_DefaultUAC;
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (16)
162de.Properties[baseObjectRdnPrefix].Value = rdnValue; 1178de.Properties[suggestedAdProperty].Value = value; 1191de.Properties[suggestedAdProperty].Value = value; 1193de.Properties[suggestedAdProperty].Value = null; 1209de.Properties[suggestedAdProperty].Value = (bool)value; 1211de.Properties[suggestedAdProperty].Value = null; 1224de.Properties[suggestedAdProperty].Value = !(bool)value; 1226de.Properties[suggestedAdProperty].Value = null; 1253de.Properties[suggestedAdProperty].Value = s; 1263de.Properties[suggestedAdProperty].Value = null; 1276de.Properties[suggestedAdProperty].Value = null; // remove the old 1277de.Properties[suggestedAdProperty].Value = rawCerts; // and put in the new 1315de.Properties[suggestedAdProperty].Value = largeInt; 1380de.Properties[kvp.Key].Value = propertyValueList.ToArray(); 1392de.Properties[kvp.Key].Value = kvp.Value.Value[0]; 1471de.Properties[suggestedAdProperty].Value = groupTypeCombined;
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (3)
418copyOfDe.Properties[attribute].Value = value; 460copyOfDe.Properties[attribute].Value = value; 764de.Properties[suggestedProperty].Value = uacValue;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (1)
379de.Properties["userFlags"].Value = SDSUtils.SAM_DefaultUAC;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (6)
916de.Properties[suggestedWinNTProperty].Value = value; 918de.Properties[suggestedWinNTProperty].Value = ""; 937de.Properties[suggestedWinNTProperty].Value = value; 947de.Properties[suggestedWinNTProperty].Value = allHours; 994de.Properties[suggestedWinNTProperty].Value = (DateTime)value; 996de.Properties[suggestedWinNTProperty].Value = new DateTime(1970, 1, 1);
55 references to Value
System.DirectoryServices (12)
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (1)
595if (ntdsaEntry.Properties[PropertyManager.MsDSDefaultNamingContext].Value == null)
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (1)
791return (string?)_crossRefEntry.Properties[PropertyManager.MsDSSDReferenceDomain].Value;
System\DirectoryServices\ActiveDirectory\DomainController.cs (5)
268if (serverNtdsaEntry.Properties[PropertyManager.Options].Value != null) 270options = (int)serverNtdsaEntry.Properties[PropertyManager.Options].Value!; 294if (serverNtdsaEntry.Properties[PropertyManager.Options].Value != null) 296options = (int)serverNtdsaEntry.Properties[PropertyManager.Options].Value!; 386System.DirectoryServices.UnsafeNativeMethods.IADsLargeInteger ridPool = (System.DirectoryServices.UnsafeNativeMethods.IADsLargeInteger)roleObjectEntry.Properties[PropertyManager.RIDAvailablePool].Value!;
System\DirectoryServices\ActiveDirectory\Forest.cs (1)
772forestModeValue = int.Parse((string)rootDSE.Properties[PropertyManager.ForestFunctionality].Value!, NumberFormatInfo.InvariantInfo);
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (2)
192if (serverNtdsaEntry.Properties[PropertyManager.Options].Value != null) 194options = (int)serverNtdsaEntry.Properties[PropertyManager.Options].Value!;
System\DirectoryServices\ActiveDirectory\PropertyManager.cs (2)
126throw new ActiveDirectoryOperationException(SR.Format(SR.PropertyNotFoundOnObject, propertyName, directoryEntry.Properties[PropertyManager.DistinguishedName].Value)); 139return directoryEntry.Properties[propertyName].Value;
System.DirectoryServices.AccountManagement (43)
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (2)
171string principalDN = (string)principalDE.Properties["distinguishedName"].Value; 275SchemaNamingContext = (string)deRoot.Properties["schemaNamingContext"].Value;
System\DirectoryServices\AccountManagement\AD\ADDNConstraintLinkedAttrSet.cs (1)
98dn = ((DirectoryEntry)this.current).Properties["distinguishedName"].Value.ToString();
System\DirectoryServices\AccountManagement\AD\ADDNLinkedAttrSet.cs (5)
597byte[] sid = (byte[])de.Properties["objectSid"].Value; 655foreignPrincipal = _storeCtx.ConstructFakePrincipalFromSID((byte[])_fakePrincipalMembers[0].Properties["objectSid"].Value); 757string groupDN = (string)((DirectoryEntry)foreignPrincipal.UnderlyingObject).Properties["distinguishedName"].Value; 830string groupDN = (string)((DirectoryEntry)foreignGroup.UnderlyingObject).Properties["distinguishedName"].Value; 865string groupDN = (string)((DirectoryEntry)foreignGroup.UnderlyingObject).Properties["distinguishedName"].Value;
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (8)
1299string principalDN = (string)principalDE.Properties["distinguishedName"].Value; 1311int primaryGroupID = (int)principalDE.Properties["primaryGroupID"].Value; 1312byte[] principalSid = (byte[])principalDE.Properties["objectSid"].Value; 1504resultSet = new ADDNConstraintLinkedAttrSet(ADDNConstraintLinkedAttrSet.ConstraintType.ContainerStringMatch, this.ctxBase.Properties["distinguishedName"].Value, principalDN, new IEnumerable[] { memberOf }, primaryGroupDN, null, false, this); 1610string principalDN = (string)principalDE.Properties["distinguishedName"].Value; 1656string groupDN = (string)groupDE.Properties["distinguishedName"].Value; 1759string principalDN = (string)principalDE.Properties["distinguishedName"].Value; 2066byte[] sid = (byte[])fpoDE.Properties["objectSid"].Value;
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (2)
246distinguishedName = (string)de.Properties["distinguishedName"].Value; 1666byte[] sid = (byte[])de.Properties["objectSid"].Value;
System\DirectoryServices\AccountManagement\SAM\SAMQuerySet.cs (19)
354(de.Properties[winNTPropertyName].Value == null)) 361if (de.Properties.Contains(winNTPropertyName) && (de.Properties[winNTPropertyName].Value != null)) 386value = (DateTime)de.Properties[winNTPropertyName].Value; 416(((string)de.Properties[winNTPropertyName].Value).Length == 0)) 423string value = (string)de.Properties[winNTPropertyName].Value; 444(de.Properties[winNTPropertyName].Value == null)) 451int value = (int)de.Properties[winNTPropertyName].Value; 482if (de.Properties["Name"].Count > 0 && de.Properties["Name"].Value != null) 484return WildcardStringMatch(filter, samAccountName, (string)de.Properties["Name"].Value); 503if (de.Properties["objectSid"].Count > 0 && de.Properties["objectSid"].Value != null) 505return Utils.AreBytesEqual(sidToMatch, (byte[])de.Properties["objectSid"].Value); 521int value = (int)de.Properties[winNTPropertyName].Value; 574(((string)de.Properties[winNTPropertyName].Value).Length == 0)) 602(de.Properties[winNTPropertyName].Value == null)) 609byte[] value = (byte[])de.Properties[winNTPropertyName].Value; 630(de.Properties[winNTPropertyName].Value == null)) 635if (de.Properties.Contains(winNTPropertyName) && (de.Properties[winNTPropertyName].Value != null)) 637DateTime value = (DateTime)de.Properties[winNTPropertyName].Value; 844byte[] memberSid = (byte[])memberDE.Properties["objectSid"].Value;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (4)
250(byte[])de.Properties["objectSid"].Value 257GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMStoreCtx", "Insert: new SID is ", Utils.ByteArrayToString((byte[])de.Properties["objectSid"].Value)); 824byte[] sid = (byte[])foreignDE.Properties["objectSid"].Value; 1037_machineUserSuppliedName = (string)_ctxBase.Properties["Name"].Value;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (1)
217SAMStoreKey key = new SAMStoreKey(this.MachineFlatName, (byte[])de.Properties["objectSid"].Value);
System\DirectoryServices\AccountManagement\SAM\SAMUtils.cs (1)
38version = (string)computerDE.Properties["OperatingSystemVersion"].Value;