<windows> of <clientCredentials> Element
Specifies the settings for a Windows credential to be used to represent the client.
Schema Hierarchy
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior> of <endpointBehaviors>
<clientCredentials>
<userNameAuthentication>
Syntax
<windows
allowedImpersonationLevel="Identification/Impersonation/Delegation/Anonymous/None"
allowNtlm="Boolean"
/>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
allowedImpersonationLevel |
Sets the impersonation preference that the client communicates to the server. The impersonation mode that the client selects is not enforced on the server. Valid values include the following:
The default is Identification. This attribute is of type TokenImpersonationLevel. |
allowNtlm |
Setting this property to true allows authentication to downgrade to NTLM if Kerberos is not available. Setting this property to false causes Windows Communication Foundation (WCF) to make a best-effort to throw an exception if NTLM is used. Note that setting this property to false may not prevent NTLM credentials from being sent over the wire. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
Specifies the credentials used to authenticate the client to the service. |
See Also
Reference
WindowsClientElement
ClientCredentialsElement
ClientCredentials
Windows
ClientCredentials
Windows
WindowsClientCredential
Other Resources
Securing Clients
Working with Certificates
Securing Services and Clients
© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05