231 references to SR
System.DirectoryServices.AccountManagement (231)
System\DirectoryServices\AccountManagement\AccountInfo.cs (8)
54throw new InvalidOperationException(SR.InvalidPropertyForStore); 86throw new InvalidOperationException(SR.InvalidPropertyForStore); 114throw new InvalidOperationException(SR.InvalidPropertyForStore); 135throw new InvalidOperationException(SR.InvalidPropertyForStore); 156throw new InvalidOperationException(SR.InvalidPropertyForStore); 189throw new InvalidOperationException(SR.InvalidPropertyForStore); 210throw new InvalidOperationException(SR.InvalidPropertyForStore); 231throw new InvalidOperationException(SR.InvalidPropertyForStore);
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (3)
82SR.ADStoreCtxUnableToReadExistingAccountControlFlagsToEnable); 272throw new PrincipalOperationException(SR.ADAMStoreUnableToPopulateSchemaList); 293throw new PrincipalOperationException(SR.ADAMStoreUnableToPopulateSchemaList);
System\DirectoryServices\AccountManagement\AD\ADDNLinkedAttrSet.cs (2)
594throw new PrincipalOperationException(SR.ADStoreCtxCantRetrieveObjectSidForCrossStore); 715throw new PrincipalOperationException(SR.ADStoreCtxFailedFindCrossStoreTarget);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (18)
64throw new InvalidOperationException(SR.ExtensionInvalidClassAttributes); 80throw new InvalidOperationException(SR.ExtensionInvalidClassAttributes); 144throw new InvalidOperationException(SR.ExtensionInvalidClassAttributes); 150throw new InvalidOperationException(SR.NameMustBeSetToPersistPrincipal); 521throw new ArgumentException(SR.StoreCtxSecurityIdentityClaimBadFormat); 656throw new MultipleMatchesException(SR.MultipleMatchingPrincipals); 1180throw new ArgumentException(SR.Format(SR.InvalidStringValueForStore, propertyName)); 1339throw new ArgumentException(SR.InvalidExtensionCollectionType); 1366throw new ArgumentException(SR.InvalidExtensionCollectionType); 1420SR.ADStoreCtxUnableToReadExistingGroupTypeFlagsForUpdate); 1537SR.Format(SR.StoreCtxUnsupportedPrincipalTypeForGroupInsert, memberType)); 1541throw new InvalidOperationException(SR.StoreCtxGroupHasUnpersistedInsertedPrincipal); 1547throw new InvalidOperationException(SR.ADStoreCtxUnsupportedPrincipalContextForGroupInsert); 1569throw new PrincipalOperationException(SR.ADStoreCtxCouldntGetSIDForGroupMember); 1615throw new PrincipalOperationException(SR.ADStoreCtxCouldntGetSIDForGroupMember); 1651throw new InvalidOperationException(SR.StoreCtxNeedValueSecurityIdentityClaimToQuery);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_Query.cs (13)
162SR.Format( 163SR.StoreCtxUnsupportedPropertyForQuery, 207throw new InvalidOperationException(SR.Format(SR.StoreCtxUnsupportedPrincipalTypeForQuery, principalType)); 408throw new ArgumentException(SR.StoreCtxGuidIdentityClaimBadFormat); 441throw new ArgumentException(SR.StoreCtxNT4IdentityClaimWrongForm); 467throw new ArgumentException(SR.StoreCtxUnsupportedIdentityClaimForQuery); 481throw new ArgumentException(SR.StoreCtxIdentityClaimMustHaveScheme); 510throw new ArgumentException(SR.StoreCtxSecurityIdentityClaimBadFormat); 518throw new ArgumentException(SR.StoreCtxSecurityIdentityClaimBadFormat); 622SR.Format( 623SR.StoreCtxUnsupportedPropertyForQuery, 674throw new InvalidOperationException(SR.StoreCtxGuidIdentityClaimBadFormat);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (17)
288throw new InvalidOperationException(SR.ADStoreCtxMustBeContainer); 625SR.ADStoreCtxUnableToReadExistingAccountControlFlagsToEnable); 726throw new InvalidOperationException(SR.ExtensionInvalidClassAttributes); 745throw new InvalidOperationException(SR.ExtensionInvalidClassAttributes); 931throw new NotSupportedException(SR.ADStoreCtxNoComputerPasswordChange); 1369throw new InvalidOperationException(SR.StoreCtxNeedValueSecurityIdentityClaimToQuery); 1442throw new InvalidOperationException(SR.StoreCtxNeedValueSecurityIdentityClaimToQuery); 1589throw new InvalidOperationException(SR.StoreCtxNeedValueSecurityIdentityClaimToQuery); 1598throw new ArgumentException(SR.StoreCtxSecurityIdentityClaimBadFormat); 1801throw new ArgumentException(SR.StoreCtxNeedValueSecurityIdentityClaimToQuery); 1822throw new ArgumentException(SR.StoreCtxNeedValueSecurityIdentityClaimToQuery); 1909explanationForFailure = SR.ADStoreCtxCantClearGroup; 2007explanationForFailure = SR.ADStoreCtxCantRemoveMemberFromGroup; 2061throw new PrincipalOperationException(SR.ADStoreCtxCantRetrieveObjectSidForCrossStore); 2115SR.Format(SR.ADStoreCtxCantResolveSidForCrossStore, err)); 2146throw new PrincipalOperationException(SR.ADStoreCtxFailedFindCrossStoreTarget);
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (3)
219throw new InvalidOperationException(SR.Format(SR.StoreCtxUnsupportedPrincipalTypeForSave, p.GetType())); 679SR.ADStoreCtxUnableToReadExistingAccountControlFlagsForUpdate);
System\DirectoryServices\AccountManagement\AD\SidList.cs (4)
100throw new PrincipalOperationException(SR.Format( 101SR.AuthZErrorEnumeratingGroups, 128throw new PrincipalOperationException(SR.Format( 129SR.AuthZErrorEnumeratingGroups,
System\DirectoryServices\AccountManagement\AuthenticablePrincipal.cs (2)
330throw new ArgumentException(SR.NullArguments); 364throw new ArgumentException(SR.AuthenticablePrincipalMustBeSubtypeOfAuthPrinc);
System\DirectoryServices\AccountManagement\AuthZSet.cs (5)
181SR.Format( 182SR.AuthZFailedToRetrieveGroupList, 200throw new NotSupportedException(SR.AuthZNotSupported, e); 203throw new NotSupportedException(SR.AuthZNotSupported, e); 390throw new NoMatchingPrincipalException(SR.AuthZCantFindGroup);
System\DirectoryServices\AccountManagement\Computer.cs (3)
19throw new InvalidOperationException(SR.ComputerInvalidForAppDirectoryStore); 28throw new ArgumentException(SR.NullArguments); 31throw new InvalidOperationException(SR.ComputerInvalidForAppDirectoryStore);
System\DirectoryServices\AccountManagement\Context.cs (12)
387throw new ArgumentException(SR.ContextBadUserPwdCombo); 394throw new ArgumentException(SR.InvalidContextOptionsForMachine); 401throw new ArgumentException(SR.InvalidContextOptionsForAD); 416throw new ArgumentException(SR.ContextNoContainerForMachineCtx); 419throw new ArgumentException(SR.ContextNoContainerForApplicationDirectoryCtx); 517throw new ArgumentException(SR.ContextBadUserPwdCombo); 540throw new ArgumentException(SR.ContextBadUserPwdCombo); 543throw new ArgumentException(SR.ContextOptionsNotValidForMachineStore); 695throw new ArgumentException(SR.Format(SR.PassedContextTypeDoesNotMatchDetectedType, _serverProperties.contextType.ToString())); 878throw new PrincipalOperationException(SR.ContextNoWellKnownObjects); 1108throw new PrincipalServerDownException(SR.ServerDown, ex);
System\DirectoryServices\AccountManagement\FindResultEnumerator.cs (1)
40throw new InvalidOperationException(SR.FindResultEnumInvalidPos);
System\DirectoryServices\AccountManagement\Group.cs (2)
19throw new ArgumentException(SR.NullArguments); 28throw new ArgumentException(SR.NullArguments);
System\DirectoryServices\AccountManagement\interopt.cs (1)
31throw new InvalidOperationException(SR.AdsiNotInstalled);
System\DirectoryServices\AccountManagement\PasswordInfo.cs (1)
163throw new InvalidOperationException(SR.PasswordInfoChangePwdOnUnpersistedPrinc);
System\DirectoryServices\AccountManagement\Principal.cs (27)
53throw new InvalidOperationException(SR.PrincipalMustSetContextForProperty); 76throw new InvalidOperationException(SR.InvalidPropertyForStore); 100throw new InvalidOperationException(SR.InvalidPropertyForStore); 129throw new InvalidOperationException(SR.InvalidPropertyForStore); 151throw new InvalidOperationException(SR.InvalidPropertyForStore); 249throw new InvalidOperationException(SR.InvalidPropertyForStore); 307throw new InvalidOperationException(SR.PrincipalMustSetContextForSave); 344throw new InvalidOperationException(SR.NullArguments); 349throw new InvalidOperationException(SR.SaveToNotSupportedAgainstMachineStore); 364throw new InvalidOperationException(SR.SaveToMustHaveSamecontextType); 456throw new InvalidOperationException(SR.PrincipalCantDeleteUnpersisted); 497throw new InvalidOperationException(SR.PrincipalMustPersistFirst); 520throw new InvalidOperationException(SR.PrincipalMustSetContextForNative); 574throw new NoMatchingPrincipalException(SR.NoMatchingGroupExceptionText); 623throw new ArgumentException(SR.NullArguments); 662throw new ArgumentException(SR.InvalidExtensionCollectionType); 667throw new ArgumentException(SR.InvalidExtensionCollectionType); 674throw new ArgumentException(SR.InvalidExtensionCollectionType); 683throw new ArgumentException(SR.InvalidExtensionCollectionType); 687throw new ArgumentException(SR.InvalidExtensionCollectionType); 696throw new ArgumentException(SR.NullArguments); 711throw new ArgumentException(SR.NullArguments); 782throw new NotSupportedException(SR.ExtensionInvalidClassDefinitionConstructor); 789throw new NotSupportedException(SR.ExtensionInvalidClassDefinitionConstructor); 895throw new InvalidOperationException(SR.PrincipalAccessedAfterBeingDeleted); 972throw new InvalidOperationException(SR.UserMustSetContextForMethod); 1013throw new InvalidOperationException(SR.PrincipalNotSupportedOnFakePrincipal);
System\DirectoryServices\AccountManagement\PrincipalCollection.cs (6)
27throw new ArgumentException(SR.PrincipalCollectionNotOneDimensional); 30throw new ArgumentException(SR.PrincipalCollectionIndexNotInArray); 73throw new ArgumentException(SR.PrincipalCollectionArrayTooSmall); 251throw new PrincipalExistsException(SR.PrincipalExistsExceptionText); 307throw new NoMatchingPrincipalException(SR.NoMatchingPrincipalExceptionText); 449throw new NoMatchingPrincipalException(SR.NoMatchingPrincipalExceptionText);
System\DirectoryServices\AccountManagement\PrincipalCollectionEnumerator.cs (2)
38throw new InvalidOperationException(SR.PrincipalCollectionEnumInvalidPos); 322throw new InvalidOperationException(SR.PrincipalCollectionEnumHasChanged);
System\DirectoryServices\AccountManagement\PrincipalSearcher.cs (10)
65throw new ArgumentException(SR.PrincipalSearcherPersistedPrincipal); 130throw new InvalidOperationException(SR.PrincipalSearcherMustSetFilter); 136throw new InvalidOperationException(SR.PrincipalSearcherPersistedPrincipal); 140throw new InvalidOperationException(SR.PrincipalSearcherNonReferentialProps); 147throw new InvalidOperationException(SR.PrincipalSearcherNoUnderlying); 164throw new InvalidOperationException(SR.PrincipalSearcherMustSetFilter); 171throw new InvalidOperationException(SR.PrincipalSearcherNoUnderlying); 251throw new InvalidOperationException(SR.PrincipalSearcherMustSetFilter); 256throw new InvalidOperationException(SR.PrincipalSearcherPersistedPrincipal); 260throw new InvalidOperationException(SR.PrincipalSearcherNonReferentialProps);
System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs (2)
422SR.Format(SR.SAMStoreCtxErrorEnumeratingGroup, err));
System\DirectoryServices\AccountManagement\SAM\SAMQuerySet.cs (4)
267SR.Format( 268SR.StoreCtxUnsupportedPropertyForQuery, 477throw new InvalidOperationException(SR.StoreCtxNT4IdentityClaimWrongForm); 501throw new InvalidOperationException(SR.StoreCtxSecurityIdentityClaimBadFormat);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (23)
53SR.Format(SR.StoreCtxUnsupportedPrincipalTypeForSave, principalType)); 62throw new InvalidOperationException(SR.NameMustBeSetToPersistPrincipal); 346throw new ArgumentException(SR.StoreCtxSecurityIdentityClaimBadFormat); 463throw new MultipleMatchesException(SR.MultipleMatchingPrincipals); 473throw new ArgumentException(SR.StoreCtxUnsupportedIdentityClaimForQuery); 533throw new ArgumentException(SR.StoreCtxNT4IdentityClaimWrongForm); 903SR.Format(SR.PrincipalUnsupportPropertyForType, 955SR.Format(SR.PrincipalUnsupportPropertyForPlatform, PropertyNamesExternal.GetExternalForm(propertyName))); 964SR.Format(SR.PrincipalUnsupportPropertyForPlatform, PropertyNamesExternal.GetExternalForm(propertyName))); 974throw new InvalidOperationException(SR.SAMStoreCtxLocalGroupsOnly); 982SR.Format(SR.PrincipalUnsupportPropertyForPlatform, PropertyNamesExternal.GetExternalForm(propertyName))); 1055SR.Format( 1056SR.SAMStoreCtxFailedToClearGroup, 1076SR.Format(SR.StoreCtxUnsupportedPrincipalTypeForGroupInsert, memberType)); 1081throw new InvalidOperationException(SR.StoreCtxGroupHasUnpersistedInsertedPrincipal); 1098throw new InvalidOperationException(SR.SAMStoreCtxCouldntGetSIDForGroupMember); 1126throw new InvalidOperationException(SR.SAMStoreCtxCouldntGetSIDForGroupMember);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_Query.cs (3)
29throw new InvalidOperationException(SR.PrincipalSearcherNoUnderlying); 141SR.Format(SR.StoreCtxUnsupportedPrincipalTypeForQuery, principalType));
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (18)
464throw new InvalidOperationException(SR.SAMStoreCtxNoComputerPasswordSet); 489throw new InvalidOperationException(SR.SAMStoreCtxNoComputerPasswordSet); 510throw new InvalidOperationException(SR.SAMStoreCtxNoComputerPasswordExpire); 524throw new InvalidOperationException(SR.SAMStoreCtxNoComputerPasswordExpire); 548throw new NotSupportedException(SR.StoreNotSupportMethod); 554throw new NotSupportedException(SR.StoreNotSupportMethod); 655throw new InvalidOperationException(SR.StoreCtxNeedValueSecurityIdentityClaimToQuery); 692throw new InvalidOperationException(SR.StoreCtxNeedValueSecurityIdentityClaimToQuery); 724throw new InvalidOperationException(SR.StoreCtxNeedValueSecurityIdentityClaimToQuery); 733throw new ArgumentException(SR.StoreCtxSecurityIdentityClaimBadFormat); 819throw new PrincipalOperationException(SR.SAMStoreCtxCantRetrieveObjectSidForCrossStore); 842SR.Format(SR.SAMStoreCtxCantResolveSidForCrossStore, err)); 869throw new PrincipalOperationException(SR.SAMStoreCtxFailedFindCrossStoreTarget); 1014throw new PrincipalOperationException(SR.SAMStoreCtxUnableToRetrieveVersion); 1042throw new PrincipalOperationException(SR.SAMStoreCtxUnableToRetrieveMachineName); 1065SR.Format( 1066SR.SAMStoreCtxUnableToRetrieveFlatMachineName,
System\DirectoryServices\AccountManagement\StoreCtx.cs (2)
339SR.Format( 340SR.StoreCtxMultipleFiltersForPropertyUnsupported,
System\DirectoryServices\AccountManagement\TrackedCollection.cs (3)
25throw new ArgumentException(SR.TrackedCollectionNotOneDimensional); 28throw new ArgumentException(SR.TrackedCollectionIndexNotInArray); 32throw new ArgumentException(SR.TrackedCollectionArrayTooSmall);
System\DirectoryServices\AccountManagement\TrackedCollectionEnumerator.cs (2)
29throw new InvalidOperationException(SR.TrackedCollectionEnumInvalidPos); 186throw new InvalidOperationException(SR.TrackedCollectionEnumHasChanged);
System\DirectoryServices\AccountManagement\UnknownPrincipal.cs (1)
20throw new ArgumentException(SR.NullArguments);
System\DirectoryServices\AccountManagement\User.cs (9)
20throw new ArgumentException(SR.NullArguments); 29throw new ArgumentException(SR.NullArguments); 57throw new InvalidOperationException(SR.InvalidPropertyForStore); 78throw new InvalidOperationException(SR.InvalidPropertyForStore); 99throw new InvalidOperationException(SR.InvalidPropertyForStore); 120throw new InvalidOperationException(SR.InvalidPropertyForStore); 141throw new InvalidOperationException(SR.InvalidPropertyForStore); 162throw new InvalidOperationException(SR.InvalidPropertyForStore); 218throw new NoMatchingPrincipalException(SR.UserCouldNotFindCurrent);
System\DirectoryServices\AccountManagement\Utils.cs (24)
376throw new PrincipalOperationException(SR.Format(SR.UnableToOpenToken, lastError)); 383throw new PrincipalOperationException(SR.Format(SR.UnableToOpenToken, error)); 406SR.Format(SR.UnableToRetrieveTokenInfo, getTokenInfoError)); 429SR.Format(SR.UnableToRetrieveTokenInfo, lastError)); 450SR.Format(SR.UnableToRetrieveTokenInfo, lastError)); 483throw new PrincipalOperationException(SR.Format( 484SR.UnableToRetrievePolicy, 498throw new PrincipalOperationException(SR.Format( 499SR.UnableToRetrievePolicy, 520SR.Format(SR.UnableToRetrievePolicy, lastError)); 570SR.Format( 571SR.UnableToRetrieveDomainInfo, 762SR.Format(SR.UnableToImpersonateCredentials, lastError)); 775SR.Format(SR.UnableToImpersonateCredentials, lastError)); 803SR.Format( 804SR.UnableToRetrieveDomainInfo,