Specifies the settings of a Windows service credential.
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior> of <serviceBehaviors>
<serviceCredentials> Element
<windowsAuthentication> of <serviceCredentials>
<windowsAuthentication
allowAnonymousLogons="Boolean"
includeWindowsGroups="Boolean" />
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
includeWindowsGroups |
An optional Boolean attribute that specifies whether the system includes Windows groups in the security context. The default is true. Setting this attribute to true has a performance impact as it results in a full-group expansion. Set this attribute to false if you do not need to establish the list of groups a user belongs to. |
allowAnonymousLogons |
An optional Boolean attribute that specifies whether anonymous, unauthenticated callers are allowed. The default is false. When the clientCredentialType attribute of a binding is set to Windows, the system does not allow anonymous callers. This means that only ___domain or workgroup authenticated callers are allowed to access the system. You can override this behavior by using this attribute. Use this setting with extreme caution. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
Specifies the credential to be used in authenticating the service, and the client credential validation-related settings. |
See Also
Reference
Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.