Udostępnij za pośrednictwem


UserManager.IsAdminUser Property

Definition

Used to check if the context user is an admin user.

public virtual bool IsAdminUser { [Android.Runtime.Register("isAdminUser", "()Z", "GetIsAdminUserHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isAdminUser", "()Z", "GetIsAdminUserHandler", ApiSince=34)>]
member this.IsAdminUser : bool

Property Value

whether the context user is an admin user.

Attributes

Remarks

Used to check if the context user is an admin user. An admin user may be allowed to modify or configure certain settings that aren't available to non-admin users, create and delete additional users, etc. There can be more than one admin users.

Java documentation for android.os.UserManager.isAdminUser().

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