Android.Accounts.AccountManager.GetAccounts Method
Lists all accounts of any type registered on the device.

Syntax

[Android.Runtime.Register("getAccounts", "()[Landroid/accounts/Account;", "GetGetAccountsHandler")]
public virtual Account[] GetAccounts ()

Returns

Documentation for this section has not yet been entered.

Remarks

Lists all accounts of any type registered on the device. Equivalent to getAccountsByType(null).

It is safe to call this method from the main thread.

This method requires the caller to hold the permission NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#GET_ACCOUNTS.

[Android Documentation]

Requirements

Namespace: Android.Accounts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5