PrincipalMessages
PrincipalMessages.Instance (SystemMessages.Principal) contains message descriptions scraped from mscorlib.dll for System.Security.Principal.*.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA3450367 | 0x80070057 | AccountNameTooLong | mscorlib.IdentityReference_AccountNameTooLong | Account name is too long. | System.ArgumentException |
0xA3450368 | 0x80070057 | CannotCreateLogonIdsSid | mscorlib.IdentityReference_CannotCreateLogonIdsSid | Well-known SIDs of type LogonIdsSid cannot be created. | System.ArgumentException |
0xA3450369 | 0x80070057 | DomainNameTooLong | mscorlib.IdentityReference_DomainNameTooLong | Domain name is too long. | System.ArgumentException |
0xA345036A | 0x80004003 | DomainSidRequired | mscorlib.IdentityReference_DomainSidRequired | The domainSid parameter must be specified for creating well-known SID of type {0}. | System.ArgumentNullException |
0xA345036B | 0x80131502 | IdentifierAuthorityTooLarge | mscorlib.IdentityReference_IdentifierAuthorityTooLarge | The size of the identifier authority must not exceed 6 bytes. | System.ArgumentOutOfRangeException |
0xA345036C | 0x80131621 | NotMapped | mscorlib.IdentityReference_IdentityNotMapped | Some or all identity references could not be translated. | System.Security.Principal.IdentityNotMappedException |
0xA345036D | 0x80070057 | InvalidNumberOfSubauthorities | mscorlib.IdentityReference_InvalidNumberOfSubauthorities | The number of sub-authorities must not exceed {0}. | System.ArgumentException |
0xA345036E | 0x80070057 | InvalidSidRevision | mscorlib.IdentityReference_InvalidSidRevision | SIDs with revision other than '1' are not supported. | System.ArgumentException |
0xA345036F | 0x80070057 | MustBeIdentityReference | mscorlib.IdentityReference_MustBeIdentityReference | The targetType parameter must be of IdentityReference type. | System.ArgumentException |
0xA3450370 | 0x80070057 | NotAWindowsDomain | mscorlib.IdentityReference_NotAWindowsDomain | The domainSid parameter is not a valid Windows domain SID. | System.ArgumentException |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/