AccountManager.GetAccounts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists all accounts visible to the caller regardless of type.
[Android.Runtime.Register("getAccounts", "()[Landroid/accounts/Account;", "GetGetAccountsHandler")]
[Android.Runtime.RequiresPermission("android.permission.GET_ACCOUNTS")]
public virtual Android.Accounts.Account[] GetAccounts ();
[<Android.Runtime.Register("getAccounts", "()[Landroid/accounts/Account;", "GetGetAccountsHandler")>]
[<Android.Runtime.RequiresPermission("android.permission.GET_ACCOUNTS")>]
abstract member GetAccounts : unit -> Android.Accounts.Account[]
override this.GetAccounts : unit -> Android.Accounts.Account[]
Returns
- Account[]
An array of Account, one for each account. Empty (never null) if no accounts
have been added.
- Attributes
Remarks
Java documentation for android.accounts.AccountManager.getAccounts().
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.