Aracılığıyla paylaş


UserManager.UserProfiles Property

Definition

Returns a list of UserHandles for profiles associated with the context user, including the user itself.

public virtual System.Collections.Generic.IList<Android.OS.UserHandle>? UserProfiles { [Android.Runtime.Register("getUserProfiles", "()Ljava/util/List;", "GetGetUserProfilesHandler")] get; }
[<get: Android.Runtime.Register("getUserProfiles", "()Ljava/util/List;", "GetGetUserProfilesHandler")>]
member this.UserProfiles : System.Collections.Generic.IList<Android.OS.UserHandle>

Property Value

A non-empty list of UserHandles associated with the context user.

Attributes

Remarks

Returns a list of UserHandles for profiles associated with the context user, including the user itself.

Note that this includes all profile types (not including Restricted profiles).

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

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