Condividi tramite


ClientRuntimeContext.Credentials Property

Gets or sets the authentication information for the client context.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Property Credentials As ICredentials
    Get
    Set
'Usage
Dim instance As ClientRuntimeContext
Dim value As ICredentials

value = instance.Credentials

instance.Credentials = value
public ICredentials Credentials { get; set; }

Property Value

Type: System.Net.ICredentials
The authentication information of the client context.

See Also

Reference

ClientRuntimeContext Class

ClientRuntimeContext Members

Microsoft.SharePoint.Client Namespace