Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

AllowAnonymousAccess Property

Published: June 20, 2005

AllowAnonymousAccess Property

Gets and sets a value that determines whether anonymous access to Speech Engine Services (SES) is enabled or disabled.

obj.AllowAnonymousAccess = boolean

Part

Description

obj

An instance of the SES class.

boolean

A Boolean expression specifying whether anonymous access is enabled or disabled. A value of True allows anonymous users to connect to SES without requiring authentication. A value of False requires authentication before users connect to SES.

Qualifiers

Qualifier

Value

Description

Registry

True

If True, this property value is read from the Registry.

Restart

False

If False, changes to this property take effect without requiring the service to restart.

DefaultValue

False

Default value for this property.

Remarks

By default, anonymous access is not allowed. Allowing anonymous access is a security risk. Before setting this property an administrator should ensure the security of the network configuration; and/or in the Internet Information Services (IIS) snap-in, the administrator should set options in the IP Address and domain name restrictions dialog box to restrict access to a trusted subnet.

This property is not exposed in the Microsoft Speech Server (MSS) snap-in for Microsoft Management Console (MMC). Values that do not appear in the MMC are generally more advanced configuration options, changeable only through VBScript.

Windows Management Instrumentation (WMI) Script Example

myComputer = "localhost"

' Use a Locator object to connect to WMI.
Set locator = CreateObject("WbemScripting.SWbemLocator")
Set namespace = locator.ConnectServer(myComputer, "root/MSS")

' Get the SES instance.
Set ss = namespace.Get("SES=@")

' Display the current property value.
WScript.Echo ss.AllowAnonymousAccess

' Set the property value to the default.
ss.AllowAnonymousAccess = False

' Update the class instance in WMI.
ss.Put_

Member Of

SES class

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.