DeviceIdManager.LoadOrRegisterDevice Method (Uri)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Loads the device credentials (if they exist).

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

Syntax

public static ClientCredentials LoadOrRegisterDevice(
    Uri issuerUri
)
Public Shared Function LoadOrRegisterDevice (
    issuerUri As Uri
) As ClientCredentials

Parameters

  • issuerUri
    Type: System.Uri

    URL for the current token issuer

Return Value

Type: System.ServiceModel.Description.ClientCredentials

Remarks

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

See Also

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright