Share via


DeviceIdManager.LoadDeviceCredentials Method (Uri)

 

Applies To: Dynamics CRM 2015

Loads the device's credentials from the file system

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public static ClientCredentials LoadDeviceCredentials(
    Uri issuerUri
)
public:
static ClientCredentials^ LoadDeviceCredentials(
    Uri^ issuerUri
)
static member LoadDeviceCredentials : 
        issuerUri:Uri -> ClientCredentials
Public Shared Function LoadDeviceCredentials (
    issuerUri As Uri
) As ClientCredentials

Parameters

  • issuerUri
    Type: System.Uri

    URL for the current token issuer

Return Value

Type: System.ServiceModel.Description.ClientCredentials

Device Credentials (if set) or null

Remarks

The issuerUri can be retrieved from the IServiceConfiguration interface's CurrentIssuer property.

See Also

LoadDeviceCredentials Overload
DeviceIdManager Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright