MobileBroadbandAccount.NetworkAccountId Property

Definition

Gets a unique identifier for the mobile broadband account.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public:
 property Platform::String ^ NetworkAccountId { Platform::String ^ get(); };
winrt::hstring NetworkAccountId();
public string NetworkAccountId { get; }
var string = mobileBroadbandAccount.networkAccountId;
Public ReadOnly Property NetworkAccountId As String

Property Value

String

Platform::String

winrt::hstring

A unique identifier for the mobile broadband account.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

The network account identifier is supplied by the mobile broadband provider when an account is activated and is stored locally in metadata that describes account information for the mobile broadband device.

The network account identifier for a mobile broadband account matches the value passed to the CreateFromNetworkAccountId method.

Applies to