Android.Accounts.AccountManager.GetUserData Method
Gets the user data named by "key" associated with the account.

Syntax

[Android.Runtime.Register("getUserData", "(Landroid/accounts/Account;Ljava/lang/String;)Ljava/lang/String;", "GetGetUserData_Landroid_accounts_Account_Ljava_lang_String_Handler")]
public virtual string GetUserData (Account account, string key)

Parameters

account
The account to query for user data
key
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Gets the user data named by "key" associated with the account. This is intended for authenticators and related code to store arbitrary metadata along with accounts. The meaning of the keys and values is up to the authenticator for the account.

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#AUTHENTICATE_ACCOUNTS and to have the same UID as the account's authenticator.

[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