Android.Content.PM.LauncherActivityInfo.User Property
Returns the user handle of the user profile that this activity belongs to.

Syntax

[get: Android.Runtime.Register("getUser", "()Landroid/os/UserHandle;", "GetGetUserHandler")]
public virtual Android.OS.UserHandle User { get; }

See Also

Android.OS.UserManager.GetSerialNumberForUser(Android.OS.UserHandle)
Android.OS.UserManager.GetUserForSerialNumber(long)

Value

Documentation for this section has not yet been entered.

Remarks

Returns the user handle of the user profile that this activity belongs to. In order to persist the identity of the profile, do not store the UserHandle. Instead retrieve its serial number from UserManager. You can convert the serial number back to a UserHandle for later use.

[Android Documentation]

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0