OnlineIdServiceTicketRequest.Service Property

Definition

Identifies the service your app uses. The service name must match the DNS name you supplied when registering your app on http://go.microsoft.com/fwlink/p/?linkid=241860. Tickets are issued only for this service. For apps that are requesting user consent to access stored in Live, you must pass the offers to which your app needs access. The available list of offers can be found at our Scopes and Permissions page. The ticket can then be used with the Live Connect REST apis to access data that a user has consented to give to the app. Check out our REST APIs topic to learn more. Alternatively, the app can use the Live Connect SDK which will make these calls itself.

Note

If you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager.

public:
 property Platform::String ^ Service { Platform::String ^ get(); };
winrt::hstring Service();
public string Service { get; }
var string = onlineIdServiceTicketRequest.service;
Public ReadOnly Property Service As String

Property Value

String

Platform::String

winrt::hstring

A string that represents the service.

Applies to