System.DirectoryServices.AccountManagement The domain's wellKnownObjects attribute does not contain values for the well-known users and/or computers containers. A container cannot be specified when using the Machine context. A container and name must be specified when using the Application Directory context. The user name and password must either both be null or both must be non-null. This store does not support this method. Principals in this version of the store do not support the property '{0}'. Principal objects of type {0} in this type of store do not support the property '{1}'. A PrincipalContext must first be assigned to an unpersisted Principal object before the Principal can be saved. A PrincipalContext must first be assigned to an unpersisted Principal object before the type of the underlying object can be retrieved. A PrincipalContext must first be assigned to the unpersisted Principal object before this property can be accessed. Unpersisted Principal objects can not be deleted. Cannot delete an already deleted object This Principal object represents a well-known SID and does not correspond to an actual store object. This operation is not supported on it. The Principal object must be persisted before this method can be called. Persisted Principal objects cannot be used as query filters. A QueryFilter must first be assigned to the PrincipalSearcher before the query can be performed. There is no underlying searcher for the type of store associated with the PrincipalContext. Only non-referential properties (properties which do not contain or refer to Principal objects) can be used in the query filter. The Principal object specified as the query filter has referential properties set. The enumerator is positioned before the first element of the collection or after the last element. The destination array must be one-dimensional. The specified index is greater than or equal to than the length of the destination array. The number of elements to copy is greater than the available space in the destination array. The collection was modified after the enumerator was created. The enumerator is positioned before the first element of the collection or after the last element. Multiple principals contain a matching Identity. No principal matching the specified parameters was found. No group matching the specified parameters was found. The principal already exists in the store. The destination array must be one-dimensional. The specified index is greater than or equal to than the length of the destination array. The number of elements to copy is greater than the available space in the destination array. The collection was modified after the enumerator was created. The enumerator is positioned before the first element of the collection or after the last element. The subtype parameter must be either AuthenticablePrincipal or a subtype of AuthenticablePrincipal. The ChangePassword method can not be called on an unpersisted Principal object. A PrincipalContext must first be assigned to the unpersisted User object before this method can be called. The User object for the current user could not be found. You may not have access to it. Information about the domain could not be retrieved ({0}). The thread or process token could not be accessed ({0}). Information from the thread token could not be retrieved ({0}). This computer's policy information could not be retrieved ({0}). The supplied credentials could not be impersonated. Principal objects of type {0} can not be saved in this store. Principal objects of type {0} can not be inserted into groups in this store Principal objects of type {0} can not be used in a query against this store. The property '{0}' can not be used in a query against this store. This IdentityType can not be used in a query against this store. The IdentityClaim to use in the query must have a UrnScheme specified. The SID is not in a valid format. The GUID is not in a valid format. The samAccountName IdentityType must be in the form "domainname\\userName", "machinename\\userName", or "userName". The Group object can not be saved until the unpersisted Principal object in its Members property is either saved or removed from the collection. The Principal object must have a valid SID IdentityType in order to perform this operation. Only domain Principal objects can be inserted into groups in this store. The SID for one of the Principal objects to be inserted into the group could not be retrieved from the store. Domain PrincipalContext objects must be rooted at a directory entry that is a container. While trying to resolve a cross-store reference, the objectSid could not be retrieved from the representation of the target principal. While trying to resolve a cross-store reference, the SID of the target principal could not be resolved. The error code is {0}. While trying to resolve a cross-store reference, the target principal could not be found in the domain indicated by the principal's SID. The principal could not be enabled because the existing account control flags could not be read. The principal could not be updated because the existing account control flags could not be read. The group could not be updated because the existing group type flags could not be read. The Group object's Members property can not be cleared because one or more of the group's members have this group as their primary group. The member can not be removed from the Group object's Members property because it has this group as its primary group. Password change operation is not supported for Computer accounts in this store. The operating system version of the target computer could not be retrieved. The name of the target computer could not be retrieved. The flat name of the target computer could not be retrieved ({0}). Computer accounts in this store can not have their passwords reset or changed. Computer accounts in this store can not have their passwords expired. One of the Principal objects to be inserted into or removed from the group's membership does not contain a SID. An error ({0}) occurred while trying to clear the group membership. While trying to resolve a cross-store reference, the objectSid could not be retrieved from the representation of the target principal. While trying to resolve a cross-store reference, the SID of the target principal could not be resolved. The error code is {0}. While trying to resolve a cross-store reference, the target principal could not be found in the domain indicated by the principal's SID. An error ({0}) occurred while enumerating the group membership. The member's SID could not be resolved. Only local groups are supported by this store. While trying to retrieve the authorization groups, an error ({0}) occurred. Retrieval of authorization groups is not supported by this platform. An error ({0}) occurred while enumerating the groups. The group's SID could not be resolved. An error occurred while enumerating the groups. The group could not be found. The options value is invalid. The Machine store only supports Negotiate. The supplied context type does not match the server contacted. The server type is {0}. The supplied arguments cannot be null. Empty string is not supported by the property {0} for this store type. The server could not be contacted. Property is not valid for this store type. SamAccountName or Name must be assigned to a newly-created Principal object in this store prior to saving. Extension class must define a constructor that accepts a PrincipalContext argument. Extension class must set DirectoryObjectClassAttribute and DirectoryRdnPrefixAttribute. The target context must have the same type as the object's current context. The ComputerPrincipal object is not supported by the ApplicationDirectory store. Saving to an alternate context is not supported by the Machine store. The ContextOptions passed are invalid for the Machine store. Only ContextOptions.Negotiate is supported. The ContextOptions passed are invalid for this store type. Either Negotiate or SimpleBind must be specified and they cannot be combined. Collections whose elements are another collection cannot be set by ExtensionClasses. The store is unable to populate a list of bindable object types. Check access to the Schema container. Multiple filters on the property {0} are not supported. Active Directory Client is not installed on this computer. System.DirectoryServices.AccountManagement is not supported on this platform. Attribute used to indicate a source generator should create a function for marshalling arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time. This attribute is meaningless if the source generator associated with it is not enabled. The current built-in source generator only supports C# and only supplies an implementation when applied to static, partial, non-generic methods. Initializes a new instance of the . Name of the library containing the import. Gets the name of the library containing the import. Gets or sets the name of the entry point to be called. Gets or sets how to marshal string arguments to the method. If this field is set to a value other than , must not be specified. Gets or sets the used to control how string arguments to the method are marshalled. If this field is specified, must not be specified or must be set to . Gets or sets whether the callee sets an error (SetLastError on Windows or errno on other platforms) before returning from the attributed method. Specifies how strings should be marshalled for generated p/invokes Indicates the user is suppling a specific marshaller in . Use the platform-provided UTF-8 marshaller. Use the platform-provided UTF-16 marshaller.