39 references to GetStoreCtxToUse
System.DirectoryServices.AccountManagement (39)
System\DirectoryServices\AccountManagement\AccountInfo.cs (10)
53
if (!_owningPrincipal.
GetStoreCtxToUse
().IsValidProperty(_owningPrincipal, PropertyNames.AcctInfoPermittedWorkstations))
85
if (!_owningPrincipal.
GetStoreCtxToUse
().IsValidProperty(_owningPrincipal, PropertyNames.AcctInfoPermittedLogonTimes))
113
if (!_owningPrincipal.
GetStoreCtxToUse
().IsValidProperty(_owningPrincipal, PropertyNames.AcctInfoExpirationDate))
134
if (!_owningPrincipal.
GetStoreCtxToUse
().IsValidProperty(_owningPrincipal, PropertyNames.AcctInfoSmartcardRequired))
155
if (!_owningPrincipal.
GetStoreCtxToUse
().IsValidProperty(_owningPrincipal, PropertyNames.AcctInfoDelegationPermitted))
188
if (!_owningPrincipal.
GetStoreCtxToUse
().IsValidProperty(_owningPrincipal, PropertyNames.AcctInfoHomeDirectory))
209
if (!_owningPrincipal.
GetStoreCtxToUse
().IsValidProperty(_owningPrincipal, PropertyNames.AcctInfoHomeDrive))
230
if (!_owningPrincipal.
GetStoreCtxToUse
().IsValidProperty(_owningPrincipal, PropertyNames.AcctInfoScriptPath))
249
return _owningPrincipal.
GetStoreCtxToUse
().IsLockedOut(_owningPrincipal);
266
_owningPrincipal.
GetStoreCtxToUse
().UnlockAccount(_owningPrincipal);
System\DirectoryServices\AccountManagement\AD\ADUtils.cs (2)
363
string p1DnsForestName = ((ADStoreCtx)p1.
GetStoreCtxToUse
()).DnsForestName;
364
string p2DnsForestName = ((ADStoreCtx)p2.
GetStoreCtxToUse
()).DnsForestName;
System\DirectoryServices\AccountManagement\PasswordInfo.cs (5)
96
_cannotChangePassword = _owningPrincipal.
GetStoreCtxToUse
().AccessCheck(_owningPrincipal, PrincipalAccessMask.ChangePassword);
148
_owningPrincipal.
GetStoreCtxToUse
().SetPassword(_owningPrincipal, newPassword);
166
_owningPrincipal.
GetStoreCtxToUse
().ChangePassword(_owningPrincipal, oldPassword, newPassword);
182
_owningPrincipal.
GetStoreCtxToUse
().ExpirePassword(_owningPrincipal);
197
_owningPrincipal.
GetStoreCtxToUse
().UnexpirePassword(_owningPrincipal);
System\DirectoryServices\AccountManagement\Principal.cs (10)
75
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.PrincipalDescription))
99
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.PrincipalDisplayName))
128
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.PrincipalSamAccountName))
150
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.PrincipalUserPrincipalName))
248
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.PrincipalName))
311
StoreCtx storeCtxToUse =
GetStoreCtxToUse
();
367
StoreCtx originalStoreCtx =
GetStoreCtxToUse
();
372
StoreCtx newStoreCtx =
GetStoreCtxToUse
();
957
StoreCtx storeCtx =
GetStoreCtxToUse
();
974
StoreCtx storeCtx =
GetStoreCtxToUse
();
System\DirectoryServices\AccountManagement\PrincipalCollection.cs (4)
326
StoreCtx storeCtxToUse = _owningGroup.
GetStoreCtxToUse
();
379
StoreCtx storeCtxToUse = _owningGroup.
GetStoreCtxToUse
();
538
return _owningGroup.
GetStoreCtxToUse
().IsMemberOfInStore(_owningGroup, principal);
563
StoreCtx storeCtxToUse = _owningGroup.
GetStoreCtxToUse
();
System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs (1)
331
_foreignResultSet = foreignGroup.
GetStoreCtxToUse
().GetGroupMembership(foreignGroup, true);
System\DirectoryServices\AccountManagement\User.cs (7)
56
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.UserGivenName))
77
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.UserMiddleName))
98
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.UserSurname))
119
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.UserEmailAddress))
140
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.UserVoiceTelephoneNumber))
161
if (!
GetStoreCtxToUse
().IsValidProperty(this, PropertyNames.UserEmployeeID))
296
StoreCtx storeCtx =
GetStoreCtxToUse
();