UserManager.UserName Property

Definition

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

String

the user name

Attributes

Remarks

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.

Applies to