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. |
Sys.Services.AuthenticationService.set_path(value); var authPath = Sys.Services.AuthenticationService.get_path();
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>
Note