Udostępnij za pośrednictwem


UserManager.DisallowConfigCredentials Field

Definition

Specifies if a user is disallowed from configuring user credentials.

[Android.Runtime.Register("DISALLOW_CONFIG_CREDENTIALS")]
public const string DisallowConfigCredentials;
[<Android.Runtime.Register("DISALLOW_CONFIG_CREDENTIALS")>]
val mutable DisallowConfigCredentials : string

Field Value

Attributes

Remarks

Specifies if a user is disallowed from configuring user credentials. The default value is false.

Holders of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_LOCK_CREDENTIALS can set this restriction using the DevicePolicyManager APIs mentioned below.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_CONFIG_CREDENTIALS.

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

See also