Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Dynamics CRM 2015
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,
string deviceName,
string devicePassword
)
public:
static ClientCredentials^ LoadOrRegisterDevice(
Uri^ issuerUri,
String^ deviceName,
String^ devicePassword
)
static member LoadOrRegisterDevice :
issuerUri:Uri *
deviceName:string *
devicePassword:string -> ClientCredentials
Public Shared Function LoadOrRegisterDevice (
issuerUri As Uri,
deviceName As String,
devicePassword As String
) As ClientCredentials
Parameters
issuerUri
Type: System.UriURL for the current token issuer
deviceName
Type: System.StringDevice name that should be registered
devicePassword
Type: System.StringDevice password that should be registered
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
© 2016 Microsoft. All rights reserved. Copyright