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