Sys.Services AuthenticationService path Property

Gets or sets the authentication service path.


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.

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





The authentication service 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.


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.

    Path = "~/myapp/authservice.asmx"/>

See Also


Sys.Services.ProfileService Class

Sys.Net.WebServiceProxy Class