Android.Accounts.AccountManager.GetPassword Method
Gets the saved password associated with the account.

Syntax

[Android.Runtime.Register("getPassword", "(Landroid/accounts/Account;)Ljava/lang/String;", "GetGetPassword_Landroid_accounts_Account_Handler")]
public virtual string GetPassword (Account account)

Parameters

account
The account to query for a password

Returns

Documentation for this section has not yet been entered.

Remarks

Gets the saved password associated with the account. This is intended for authenticators and related code; applications should get an auth token instead.

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