AccountManager.GetUserData(Account, String) AccountManager.GetUserData(Account, String) Method

Definition

Gets the user data named by "key" associated with the account.

[Android.Runtime.Register("getUserData", "(Landroid/accounts/Account;Ljava/lang/String;)Ljava/lang/String;", "GetGetUserData_Landroid_accounts_Account_Ljava_lang_String_Handler")]
[Android.Runtime.RequiresPermission("android.permission.AUTHENTICATE_ACCOUNTS")]
public virtual string GetUserData (Android.Accounts.Account account, string key);
abstract member GetUserData : Android.Accounts.Account * string -> string
override this.GetUserData : Android.Accounts.Account * string -> string

Parameters

account
Account Account

The account to query for user data

Returns

Remarks

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.

Applies to