Export (0) Print
Expand All

DataServiceContext.UseDefaultCredentials Property

Gets or sets whether default credentials are used to authenticate requests to the data service.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

public bool UseDefaultCredentials { get; set; }

Property Value

Type: System.Boolean
true when the default credentials should be used; otherwise false.

Set this property to true when requests made by this DataServiceContext instance should, when it is requested by the server, be authenticated using the credentials of the currently logged on user.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft