WindowsServiceElement::AllowAnonymousLogons Property
.NET Framework (current version)
Gets or sets a Boolean value that specifies whether anonymous users can logon.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: [ConfigurationPropertyAttribute("allowAnonymousLogons", DefaultValue = false)] property bool AllowAnonymousLogons { bool get(); void set(bool value); }
Property Value
Type: System::Booleantrue if anonymous users can logon; otherwise, false. The default is false.
When using Windows service credentials on a binding, the system does not allow anonymous access by default. This means that only domain or workgroup authenticated users have access to the system. You can use this property to allow anonymous, unauthenticated users to access the service. You should exercise caution when using this setting.
.NET Framework
Available since 3.0
Available since 3.0
Show: