UserDataAccount.DeviceAccountTypeId Property

Definition

Gets the unique identifier for the type of the account.

public:
 property Platform::String ^ DeviceAccountTypeId { Platform::String ^ get(); };
winrt::hstring DeviceAccountTypeId();
public string DeviceAccountTypeId { get; }
var string = userDataAccount.deviceAccountTypeId;
Public ReadOnly Property DeviceAccountTypeId As String

Property Value

String

Platform::String

winrt::hstring

The unique identifier for the type of the account such as Exchange, Google, Pop/IMAP and so on.

Remarks

Valid values for this property are:

Account typeID
Exchange Active Sync6833942B-ABDA-4C20-9757-4F9252396BD4
Google via Exchange Active SyncE288529A-1917-4985-897F-34D8121EBFC3
Internet Mail (Pop/IMAP)DC23EAD7-BBF2-44D7-A791-6B2B7580F0C2
Google via IMAP/CardDAV/CalDAV0A95CDAA-C7EB-4133-9793-75E13089F082
iCloud via IMAP/CardDAV/CalDAV45157403-77C9-4E68-9485-6DD9A79D534A

Other values may be added in the future, so you should have a default case to handle unknown values.

Applies to