LiveIdTicketManager.RetrieveTicket Method
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

LiveIdTicketManager.RetrieveTicket Method

Dynamics
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Retrieves a Windows Live ID ticket from the Windows Live service.

Syntax

[Visual Basic .NET]
Public Shared Function RetrieveTicket(
  ByVal devicepassword As String,
  ByVal partner As String,
  ByVal username As String,
  ByVal password As String,
  ByVal policy As String
  ByVal environment As LiveIdEnvironment
) As String
[C#]
public static string RetrieveTicket(
  string devicepassword,
  string partner,
  string username,
  string password,
  string policy
  LiveIdEnvironment environment,
);

Parameters

devicepassword

Specifies a password that is used to register the computer device with the Windows Live ID service. It is recommended that you use a randomly generated password with a length between 16 and 24 characters. The supported character set is: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567891@#$%^*()-_=+;: ,./?`~

partner

Specifies the hosting partner Web address. When authenticating with Microsoft Dynamics CRM Online, use a partner value of "crm.dynamics.com"

username

Specifies the Windows Live ID (e-mail address) of the user that is to be authenticated.

password

Specifies the Windows Live ID account password of the user that is to be authenticated.

policy

Specifies the policy obtained from the Discovery Web service. Currently, the policy should be set to "MBI_SSL".

env

Specifies the authentication environment. For more information, see LiveIdEnvironment.

Return Value

Returns a String type.

Requirements

Namespace:

Assembly: LiveIdTicketManager.dll

See Also

Reference

Tasks


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2016 Microsoft