Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.Services AuthenticationService path Property

Gets or sets the authentication service path.

note

To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel methods.

Syntax

Sys.Services.AuthenticationService.set_path(value); 
var authPath = Sys.Services.AuthenticationService.get_path();

Parameter

Description

value

The authentication service path.

Remarks

By default, the path property is set to an empty string. If you do not set the path property, the internal default path is used, which points to the built-in authentication service.

note

The built-in authentication service cannot be moved to a different location in ASP.NET applications. However, you can point to a custom Web service that exposes the same methods and properties as the default authentication service.

You usually set the path property in declarative markup. This value can be an absolute virtual path, a relative virtual path, or a fully qualified domain name and a path. The following example shows how to set the path property declaratively.

<asp:ScriptManager>
  <AuthenticationService 
    Path = "~/myapp/authservice.asmx"/>
</asp:ScriptManager>