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