Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@
<param name="name">The name of the domain or server for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context types, the machine name for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context types, or the name of the server and port hosting the <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> instance.

If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Domain" /> context type this context is a domain controller for the domain of the user principal under which the thread is running. If the name is null for a <see cref="F:System.DirectoryServices.AccountManagement.ContextType.Machine" /> context type, this is the local machine name. This parameter cannot be null for <see cref="F:System.DirectoryServices.AccountManagement.ContextType.ApplicationDirectory" /> context types.</param>
<param name="userName">The username used to connect to the store. If the <c>username</c> and <c>password</c> parameters are both null, the default credentials of the current principal are used. Otherwise, both <c>username</c> and <c>password</c> must be non-null, and the credentials they specify are used to connect to the store.</param>
<param name="password">The password used to connect to the store. If the <c>username</c> and <c>password</c> parameters are both null, the default credentials of the current principal are used. Otherwise, both <c>username</c> and <c>password</c> must be non-null, and the credentials they specify are used to connect to the store.</param>
<param name="userName">The username used to connect to the store. If the <c>username</c> and <c>password</c> parameters are both null, the credentials of the current process are used. Otherwise, both <c>username</c> and <c>password</c> must be non-null, and the credentials they specify are used to connect to the store.</param>
<param name="password">The password used to connect to the store. If the <c>username</c> and <c>password</c> parameters are both null, the credentials of the current process are used. Otherwise, both <c>username</c> and <c>password</c> must be non-null, and the credentials they specify are used to connect to the store.</param>
<summary>Initializes a new instance of the <see cref="T:System.DirectoryServices.AccountManagement.PrincipalContext" /> class with the specified context type, name, username, and password.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">The <paramref name="username" /> and <paramref name="password" /> parameters must either be null or contain a value.
Expand Down Expand Up @@ -611,4 +611,4 @@ The `userName` argument must take the form *username* (for example, *mcampbell*)
</Docs>
</Member>
</Members>
</Type>
</Type>