DeviceUserName.ToClientCredentials Method

Applies To: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online

Converts this type to ClientCredentials.

Namespace: Microsoft.Xrm.Client.Services.Samples
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Usage

'Usage
Dim instance As DeviceUserName
Dim returnValue As ClientCredentials

returnValue = instance.ToClientCredentials

Syntax

'Declaration
Public Function ToClientCredentials As ClientCredentials
public ClientCredentials ToClientCredentials ()

Return Value

Type: ClientCredentials
The populated client credentials.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1

See Also

Reference

DeviceUserName Class
DeviceUserName Members
Microsoft.Xrm.Client.Services.Samples Namespace

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.