Share via


Ikev2VpnProfile.Username Property

Definition

Retrieves the username.

public string? Username { [Android.Runtime.Register("getUsername", "()Ljava/lang/String;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getUsername", "()Ljava/lang/String;", "", ApiSince=30)>]
member this.Username : string

Property Value

Attributes

Remarks

Retrieves the username.

May be null if the profile is not using Username/Password authentication, or the profile is built from an IkeTunnelConnectionParams.

Java documentation for android.net.Ikev2VpnProfile.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