Show / Hide Table of Contents

Property Username

Username

Gets the user associated with the credential.

Declaration
public string Username { get; }
Property Value
Type Description
System.String

The user associated with the credential, or null.

Remarks

For OAuthApplicationCredential and PregeneratedTokenCredential the username is always null. For AccessTokenCredential the username is specified when the credential is created, but may be blank for network-secured portals. For OAuthUserCredential the username is determined during OAuth authorization.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.5 - 200.8
.NET200.5 - 200.8
.NET Windows200.5 - 200.8
.NET Android200.5 - 200.8
.NET iOS200.5 - 200.8
.NET Framework200.5 - 200.8
UWP200.5 - 200.8
In This Article
Back to top Copyright © 2022 Esri.