Language

NTUserPrincipal.Name Property

Definition

Returns the name of this Principal.

public virtual string? Name { [Android.Runtime.Register("getName", "()Ljava/lang/String;", "GetGetNameHandler")] get; }
[<get: Android.Runtime.Register("getName", "()Ljava/lang/String;", "GetGetNameHandler")>]
member this.Name : string

Property Value

The name in DOMAIN/username form, with the domain in uppercase using the English locale. If the domain is null or empty, only the user name is returned.

Implements

Attributes

Remarks

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