Skip to content

Commit 7288802

Browse files
What is a bind added (dotnet#8778)
* What is a bind added What is a bind added from https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ldap/binding-to-an-ldap-server * Update xml/System.DirectoryServices.Protocols/LdapConnection.xml Co-authored-by: MSDN.WhiteKnight <35516665+MSDN-WhiteKnight@users.noreply.github.com>
1 parent 824fda3 commit 7288802

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

xml/System.DirectoryServices.Protocols/LdapConnection.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,15 @@
333333
<Parameters />
334334
<Docs>
335335
<summary>The <see cref="M:System.DirectoryServices.Protocols.LdapConnection.Bind" /> method sends an LDAP bind using the current credentials.</summary>
336-
<remarks>To be added.</remarks>
336+
<remarks>
337+
<format type="text/markdown"><![CDATA[
338+
## Remarks
339+
340+
Binding is the step where the LDAP server authenticates the client and, if the client is successfully authenticated, allows the client access to the LDAP server based on that client's privileges.
341+
If a connection was created using `ldap_connect`, and if no binding function is called, on a LDAP v3 server, you run as anonymous.
342+
343+
]]></format>
344+
</remarks>
337345
<exception cref="T:System.ObjectDisposedException">The object handle is not valid.</exception>
338346
<exception cref="T:System.DirectoryServices.Protocols.LdapException">The error code returned by LDAP does not map to one of the <see cref="T:System.DirectoryServices.Protocols.ResultCode" /> enumeration error codes.</exception>
339347
<exception cref="T:System.InvalidOperationException">Either the <see cref="P:System.DirectoryServices.Protocols.DirectoryConnection.ClientCertificates" /> property specifies more than one client certificate to send for authentication, or the <see cref="P:System.DirectoryServices.Protocols.LdapConnection.AuthType" /> property is Anonymous and one or more credentials are supplied.</exception>

0 commit comments

Comments
 (0)