UserManager.UserName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the user name of the context user.
public virtual string UserName { [Android.Runtime.Register("getUserName", "()Ljava/lang/String;", "GetGetUserNameHandler")] get; }
[<get: Android.Runtime.Register("getUserName", "()Ljava/lang/String;", "GetGetUserNameHandler")>]
member this.UserName : string
Property Value
the user name
- Attributes
Remarks
Returns the user name of the context user. This call is only available to applications on the system image.
Java documentation for android.os.UserManager.getUserName()
.
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.