Android.App.Admin.DevicePolicyManager.GetPasswordExpiration Method
Get the current password expiration time for the given admin or an aggregate of all admins of this user and its profiles if admin is null.

Syntax

[Android.Runtime.Register("getPasswordExpiration", "(Landroid/content/ComponentName;)J", "GetGetPasswordExpiration_Landroid_content_ComponentName_Handler")]
public virtual long GetPasswordExpiration (Android.Content.ComponentName admin)

Parameters

admin
The name of the admin component to check, or null to aggregate all admins.

Returns

Documentation for this section has not yet been entered.

Remarks

Get the current password expiration time for the given admin or an aggregate of all admins of this user and its profiles if admin is null. If the password is expired, this will return the time since the password expired as a negative number. If admin is null, then a composite of all expiration timeouts is returned - which will be the minimum of all timeouts.

[Android Documentation]

Requirements

Namespace: Android.App.Admin
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11