25 references to
System.DirectoryServices.AccountManagement (25)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (4)
1224
if (resultPropCollection
[
"groupType"].Count > 0 && resultPropCollection
[
"objectSid"].Count > 0)
1226
int? groupTypeValue = (int?)resultPropCollection
[
"groupType"][0];
1229
byte[] sidByteArray = (byte[])resultPropCollection
[
"objectSid"][0];
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (14)
828
if (properties
[
"objectSid"].Count > 0)
830
byte[] sid = (byte[])properties
[
"objectSid"][0];
844
Debug.Assert(properties
[
"objectGuid"].Count == 1);
846
if (properties
[
"objectGuid"].Count == 1)
848
byte[] guid = (byte[])properties
[
"objectGuid"][0];
880
if (properties
[
suggestedAdProperty].Count > 0)
883
Debug.Assert(properties
[
suggestedAdProperty].Count == 1);
884
Debug.Assert(properties
[
suggestedAdProperty][0] is bool);
886
p.LoadValueIntoProperty(propertyName, !(bool)properties
[
suggestedAdProperty][0]);
897
dSPropertyValueCollection values = properties
[
suggestedAdProperty];
949
dSPropertyValueCollection values = properties
[
suggestedAdProperty];
967
if (properties
[
"lastLogonTimestamp"].Count != 0)
989
dSPropertyValueCollection values = properties
[
suggestedAdProperty];
1021
dSPropertyValueCollection values = properties
[
suggestedAdProperty];
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (7)
488
if (properties
[
suggestedProperty].Count != 0 && properties
[
suggestedProperty][0] != null)
491
Debug.Assert(properties
[
suggestedProperty].Count == 1);
492
Debug.Assert(properties
[
suggestedProperty][0] is T);
494
p.LoadValueIntoProperty(propertyName, (T)properties
[
suggestedProperty][0]);
500
dSPropertyValueCollection values = properties
[
suggestedProperty];
577
dSPropertyValueCollection values = properties
[
suggestedProperty];