Udostępnij za pośrednictwem


UserManager.DisallowGrantAdmin Field

Definition

Specifies if a user is disallowed from being granted admin privileges.

[Android.Runtime.Register("DISALLOW_GRANT_ADMIN", ApiSince=34)]
public const string DisallowGrantAdmin;
[<Android.Runtime.Register("DISALLOW_GRANT_ADMIN", ApiSince=34)>]
val mutable DisallowGrantAdmin : string

Field Value

Attributes

Remarks

Specifies if a user is disallowed from being granted admin privileges.

This restriction limits ability of other admin users to grant admin privileges to selected user.

This restriction has no effect in a mode that does not allow multiple admins.

The default value is false.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_GRANT_ADMIN.

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