-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Pri2Indicates issues/PRs that are medium priorityIndicates issues/PRs that are medium priorityarea-System.DirectoryServicesdotnet-api/produntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
InvokeSet is the only way I can see that allows you to set the value of an attribute that currently has no value. The Properties collection can only be used to update attributes that have a value. Even if you specify additional properties to return in the DirectorySearcher, the entry will not contain them and there is no way to set them.
There is a method "Add" but you cannot use it because the collection is a fixed size.
If there is a better way for this scenario, the documentation should specify how because InvokeSet is the only way I can see to do it...
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 1db88fe4-b886-0ba0-6d0a-08abc2e836ac
- Version Independent ID: 88779c68-f022-dcbc-d242-7e9c2be1bd07
- Content: DirectoryEntry.InvokeSet(String, Object[]) Method (System.DirectoryServices)
- Content Source: xml/System.DirectoryServices/DirectoryEntry.xml
- Product: dotnet-api
- GitHub Login: @dotnet-bot
- Microsoft Alias: dotnetcontent
Metadata
Metadata
Assignees
Labels
Pri2Indicates issues/PRs that are medium priorityIndicates issues/PRs that are medium priorityarea-System.DirectoryServicesdotnet-api/produntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner